• 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
#includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

11, 11
10, 11
10, 10
11, 10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C Language developed at _________?

Sun Microsystems in 1973
AT & T's Bell Laboratories of USA in 1970
Cambridge University in 1972
AT & T's Bell Laboratories of USA in 1972

ANSWER DOWNLOAD EXAMIANS APP

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

garbage values
Error
0 0 0
1 1 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);}

Hello
Some Address will be printed
H
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;}

16
20
-1
19
17

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program? #include\ int main(){  extern int i;  i = 20;  printf("%ld ", sizeof(i));  return 0; }

Linker Error : Undefined symbol 'i'
Depends on the Compiler
4
2

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
↑