• 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
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

0
1
-1
Compilation Error
33

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Let x be an array. Which of the following operations are illegal?I.   ++xII. x+1III. x++IV. x*2

III and IV
I, II and III
I, III and IV
II and III
I and II

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following?const int *ptr;

We cannot change the pointer ptr itself.
We can change the pointer as well as the value pointed by it.
Both of the above
We cannot change the value pointed by ptr.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
An array elements are always stored in ________ memory locations.

Random
None of these
Sequential
Sequential and Random

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));}

-10 to 0
-10 to -1
Complier error
-10 to infinite

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");}

haasi
absiha
hai
asiha

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
↑