C Language Quiz

3 Questions  I  By MohitMishra
Please take the quiz to rate it.

Programming Quizzes & Trivia
INSTRUCTIONS: 1. NO STUDENT IS ALLOWED TO LEAVE THE EXAMINATION BEFOUR THE SCHEDULED TIME OF EXAMINATION. 2. NO ELECTRONIC EQUIPMENTS IS ALLOWED IN EXAMINATION ROOM. 3. ATTEMPT ALL QUESTION COMPLETELY 4. Time 45 min

  
Changes are done, please start the quiz.


Questions and Answers

Removing question excerpt is a premium feature

Upgrade and get a lot more done!
  • 1. 
    Void main() { int const * p=5; printf("%d",++(*p)); }
    • A. 

      COMPILER ERROR

    • B. 

      6

    • C. 

      ADDRESS VALUE

    • D. 

      5

    • E. 

      NONE


  • 2. 
    Main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }
    • A. 

      Mmm aaaa nnnnn

    • B. 

      Mmmmm aaa nnnn

    • C. 

      Mmmm aaaa nnnn

    • D. 

      Mmm aaa nnn

    • E. 

      NONE


  • 3. 
    6. main() { extern int i; i=20; printf("%d",i); }
    • A. 

      LINKER ERROR

    • B. 

      COMPILER ERROR

    • C. 

      20

    • D. 

      ADDRESS

    • E. 

      NONE


Back to top

Removing ad is a premium feature

Upgrade and get a lot more done!
Take Another Quiz
We have sent an email with your new password.