• 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
Find the output of the following program. void main() { int i=01289; printf("%d", i); }

Syntax error
713
1289
0289
0713

ANSWER DOWNLOAD EXAMIANS APP

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

0
None of these
14
10
1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which operator from the following has the lowest priority?

Unary-operator
Conditional operator
Comma operator
Division operator
Assignment operator

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following pointer declaration?int *ptr, p;

ptr is pointer to integer, p may or may not be.
ptr is a pointer to integer, p is not.
ptr and p both are not pointers to integer.
ptr and p, both are pointers to integer.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which is the only function all C programs must contain?

system()
getch()
start()
main()
printf()

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );}

9
0.25
1
2
0.5

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
↑