Welcome Guest.


C language syntax error

Asked by: Carl 214 views IT May 4, 2019


int main()


int a,b;





return 0;


Where it was wrong, compiled passed

4 Answers

  1. +3Votes  

    Your program doesn’t have any syntax errors (it can be compiled and run, there can be no grammatical errors)

    It’s just a logical problem, your printf quotes are not in the right position, and the reference is changed

    Barbara Evans- May 4, 2019 |

  2. +4Votes  

    You can check the error

    Henry- May 4, 2019 |

  3. +4Votes  

    One line int namespace

    And this is c++

    Amanda Carter- May 4, 2019 |

  4. +6Votes  

    Enter shift+ctrl

    Jeffrey- May 4, 2019 |