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

6 7
6 6
5 6
12 7
11 6

ANSWER DOWNLOAD EXAMIANS APP

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

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

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?

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

ANSWER DOWNLOAD EXAMIANS APP

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

absiha
asiha
hai
haasi

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

Code will not compile
Garbage value 0
Garbage vlaue Garbage Value
0 Garbage Value
0 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i);

9 10 11 12 13
10 11 12 13 14
10 11 12 13 14 15
None of these
Infinite loop

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
↑