This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 2 years, 6 months ago.

  • Author
    Posts
  • #566143 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    What will be the output of the following C code?
    int test()
    {
        return 5,6;
    }
    void main()
    {
         printf("%d",test());
    }

    Options :-

    1. 5
    2. 6
    3. Compilation error: too many return values
    4. 5 6
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: What will be the output of the following C code?int test(){    return 5,6;}void main(….
Your information:




Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account