• 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
#includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

11, 11
10, 10
10, 11
11, 10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);}

14
10
0
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
C programs are converted into machine language with the help of

None of these.
An operating system
An Editor
A compiler

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will happen after compiling and running following code?main(){ printf("%p", main); }

None of these.
Will make an infinite loop.
Error
Some address will be printed.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);}

100 5 100
5 0 100
5 0 20
100 100 100
100 0 100

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);}

16
None of These
4
64

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
↑