• 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
Functions have ..........

Block scope
Local scope
No scope at all
Function scope
File scope

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));}

11
12
15
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);}

13
11
12
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ printf("%p", main);}

Error
None of These
Some address will be printed
make an infinite loop

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);}

0 0 1 3 0
0 0 1 3 1
0 0 0 2 1
0 0 1 2 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);}

0 1 2 2
1 1 2 2
1 1 2 3
0 1 2 3
None of these

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
↑