• 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=5, j=6, z; printf("%d", i+++j);}

None of These
13
11
12

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The type of the controlling expression of a switch statement cannot be of the type ........

char
long
int
float
short

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); }

H
Some address will be printed
None of these.
Hello

ANSWER DOWNLOAD EXAMIANS APP

C Programming
char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above?

efg
fg
cdefg
bcdefg
defg

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");}

nullp nullq
p q
x nullq where x can be p or nullp depending on the value of NULL
Depends on the compiler

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);}

Compiler Error
None of These
mmmm nnnn aaaa
mmm nnn aaa

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
↑