• 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 will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);}

12 7
11 6
5 6
6 6
6 7

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }}

Compiler Error
GOOD
GOOD BAD
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C was primarily developed as

None of these
System programming language
General purpose language
Data processing language

ANSWER DOWNLOAD EXAMIANS APP

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

Sequential and Random
Random
None of these
Sequential

ANSWER DOWNLOAD EXAMIANS APP

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

-1
33
0
Compilation Error
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?

arr[6]
arr[7]
arr{6}
None of these
arr{7}

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
↑