• 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
33
1
0
Compilation Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The address operator &, cannot act on

Arithmetic expressions
R-values
Local variables
Both of the above
Members of a structure

ANSWER DOWNLOAD EXAMIANS APP

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

54554
54544
55445
45545

ANSWER DOWNLOAD EXAMIANS APP

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

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

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

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

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
↑