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

11 6
6 7
6 6
12 7
5 6

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);}

11
13
12
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);}

i = -1, +i = -1
i = -1, +i = 1
None of These
i = 1, +i = 1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);}

2, 3, 20
1, 2, 5
3, 2, 15
2, 1, 15

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);}

H
Some Address will be printed
Hello
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

int funct();
int funct(int x) { return x=x+1; }
void funct(int) { printf(“Hello"); }
void funct(x) { printf(“Hello"); }
None of these

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
↑