• 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
Standard ANSI C recognizes ______ number of keywords?

32
36
40
30
24

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));}

2 5 5
5 5 5
2 4 5
2 4 4

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;}

5
6
None of these
9
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);}

Compiler Error
None of These
Can't Say
will print Hello World

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }}

1 2 3 10
4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
4 5 6 7 8 9 10
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
↑