• 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=0; for(;i++;printf("%d", i)); printf("%d", i);}

1
Error
12
11

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

1
0
3
2
Garbage Value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a;

5
9
10
11
6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

2
Linker Error
Compiler Error
20

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);}

65
Error
c
A

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The library function used to find the last occurrence of a character in a string is

laststr()
strstr()
None of these
strrchr()
strnstr()

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
↑