• 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
Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);}

1..0
0..0
1..1
0..1

ANSWER DOWNLOAD EXAMIANS APP

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

0
14
1
10

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);}

Compiler Error
50
10
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Pick the correct statements.I.   The body of a function should have only one return statement.II.  The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment.

I and III
III and IV
II and IV
II and III
I and II

ANSWER DOWNLOAD EXAMIANS APP

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

11
Error
12
1

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

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

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
↑