• 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.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

2, 4
0, 2
2, 0
2, 2
4, 4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Functions have ..........

File scope
Local scope
Block scope
Function scope
No scope at all

ANSWER DOWNLOAD EXAMIANS APP

C Programming
When a function is recursively called all the automatic variables are stored in a ..........

Stack
Register
Queue
Linked list
Array

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);}

0 0
Code will not compile
Garbage vlaue Garbage Value
Garbage value 0
0 Garbage Value

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);}

65486, 65487
65486, 65486
65486, 65488
65486, 65490
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);}

None of These
H
Hello
Some Address will be printed

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
↑