• 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 QUIZ

Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte)

TRUE ANSWER : ?
YOUR ANSWER : ?

For 16-bit compiler allowable range for integer constants is ________?

TRUE ANSWER : ?
YOUR ANSWER : ?

A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as

TRUE ANSWER : ?
YOUR ANSWER : ?

Comment on the following pointer declaration?int *ptr, p;

TRUE ANSWER : ?
YOUR ANSWER : ?

char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed?

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the correct value to return to the operating system upon the successful completion of a program?

TRUE ANSWER : ?
YOUR ANSWER : ?

Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }}

TRUE ANSWER : ?
YOUR ANSWER : ?

What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following is not a correct variable type?

TRUE ANSWER : ?
YOUR ANSWER : ?

What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++)

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

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
↑