• 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(){ extern int i; i=20; printf("%d", sizeof(i));}

20
Linker Error
2
Compiler Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);}

1..0
1..1
0..1
0..0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");}

None of these
M
Good
Good Morning
Morning

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The declarationint (*p) [5];means

The same as int *p[
None of these.
p is a pointer to a 5 elements integer array.
p is one dimensional array of size 5, of pointers to integers.

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A C variable cannot start with

An alphabet
A special symbol other than underscore
Both of the above
A number

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
↑