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

short
char
int
long
float

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Array passed as an argument to a function is interpreted as

Number of element of the array.
Address of the array.
Values of the first elements of the array.
Address of the first element of the array.

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
-110
-10
110
450

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); }

Runtime error
0x1234ABCD, 10, 10
Syntax error
0x1234ABCD, 0x1234ABCD, 0x1234ABCD
0x1234ABCD, 0x1234ABCD, 10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following function is used to find the first occurrence of a given string in another string?

strchr()
None of these
strstr()
strrchr()
strnset()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);}

NOITANIMAXE
Syntax error
NOITANIMAXE C
C
No output at all.

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
↑