• 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
Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);}

1 1 1
0 0 0
garbage values
Error

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 Preprocessing
None of these
During Execution
During linking

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);}

0 5.600000
6 5.600000
Complier error
5 5.600000

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);}

hi
Garbage Value
h
hi followed by garbage value
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
If integer needs two bytes of storage, then maximum value of an unsigned integer is

216
216 – 1
215
215 – 1
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();}

Infinite Loop
Compilation Error
5 4 3 2 1
None of these
5 5 5 5 5

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
↑