• 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
Functions have ..........

Block scope
Local scope
File scope
No scope at all
Function scope

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function sprintf() works like printf(), but operates on ..........

no such function in 'C'.
stdin
Data file
string
stderr

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ printf("%p", main);}

Some address will be printed
Error
None of These
make an infinite loop

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);}

10
Compiler time error
Undefined behavior
Segmentation fault/runtime crash

ANSWER DOWNLOAD EXAMIANS APP

C Programming
In C programming language, which of the following type of operators have the highest precedence

Equality operators
Arithmetic operators
Logical operators
Relational operators

ANSWER DOWNLOAD EXAMIANS APP

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

45445
45545
54544
54554

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
↑