• 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:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);}

16
None of These
4
64

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);}

6
5
7
None of These

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The recursive functions are executed in a ...........

Parallel order
Random order
Last In First Out order
First In First Out order
Iterative order

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);}

Error
6
Garbage value
3

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program? #include\ int main(){  extern int i;  i = 20;  printf("%ld ", sizeof(i));  return 0; }

2
Depends on the Compiler
4
Linker Error : Undefined symbol 'i'

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the best answer.Prior to using a pointer variable

It should be initialized.
It should be both declared and initialized.
None of these.
It should be declared.

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
↑