• 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 number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a;

5
11
6
9
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
int a[5] = {1,2,3}What is the value of a[4]?

2
1
0
Garbage Value
3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);}

None of these.
9
11
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);}

Garbage Value
None of these
5
6
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program?

6
No output
Runtime error
Syntax error
8

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);}

50
None of These
Compiler Error
10

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
↑