• 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
The type of the controlling expression of a switch statement cannot be of the type ........

long
char
short
int
float

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);}

Error
1 1 1
0 0 0
garbage values

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will happen after compiling and running following code?main(){ printf("%p", main); }

None of these.
Will make an infinite loop.
Some address will be printed.
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5?

-10
450
110
10
-110

ANSWER DOWNLOAD EXAMIANS APP

C Programming
short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code?

6
It will not compile because not enough initializers are given
7
24
12

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

int funct();
None of these
void funct(x) { printf(“Hello"); }
void funct(int) { printf(“Hello"); }
int funct(int x) { return x=x+1; }

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
↑