• 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");

1
-1
33
0
Compilation Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } }

XAM is printed
exam is printed
Compiler Error
Nothing is printed

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);}

50, 13, 11, 13
13, 10, 24, 50
50, 13, 24, 50
50, 13, 24, 13
13, 13, 24, 13

ANSWER DOWNLOAD EXAMIANS APP

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

None of These
5 4 3 2 1
0 0 0 0
Infinite Loop

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function scanf() returns .........

1
0
The number of successful read input values.
The actual values read for each argument.
ASCII value of the input read.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

None of these
*float ptr;
float *ptr;
float ptr;

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
↑