• 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
Which of the following operator takes only integer operands?

%
/
None of these
*
+

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }

hai
asiha
absiha
None of these
haasi

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}

None of These
sizeof(i)=2
Compiler Error
sizeof(i)=1

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);}

3 2 1 0
3 2 1
infinity loop
no output

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is the correct way of declaring a float pointer:

float *ptr;
*float ptr;
None of these
float ptr;

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 *)[]
None of these.
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
↑