• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

C Programming

C Programming
What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);}

no output
3 2 1
infinity loop
3 2 1 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In which stage the following code#includegets replaced by the contents of the file stdio.h

During Editing
During linking
During Execution
None of these
During Preprocessing

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int const *p=5; printf("%d", ++(*p));}

6
Compiler Error
Garbage Value
5

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to -1
-10 to 0
Complier error
-10 to infinite

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }}

None of These
10 20 30 40 50 10 20 30 40 50
10 20 30 40 50 Garbage Value
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

0, 2
2, 0
2, 2
2, 4
4, 4

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON C Programming

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑