• 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.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));}

5
6
4
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
An array elements are always stored in ________ memory locations.

None of these
Random
Sequential and Random
Sequential

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);}

0 0 1 2 0
0 0 1 3 1
0 0 0 2 1
0 0 1 3 0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the correct value to return to the operating system upon the successful completion of a program?

1
Program do no return a value.
-1
2

ANSWER DOWNLOAD EXAMIANS APP

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

An Editor
None of these.
A compiler
An operating system

ANSWER DOWNLOAD EXAMIANS APP

C Programming
A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as

None of these.
int(*p(char *))[]
int (*p) (char *)[]
int *p(char *)[]

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
↑