• 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, 0
2, 2
4, 4
0, 2
2, 4

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the base data type of a pointer variable by which the memory would be allocated to it?

unsigned int
float
Depends upon the type of the variable to which it is pointing.
No data type
int

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Let x be an array. Which of the following operations are illegal?I.   ++xII. x+1III. x++IV. x*2

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

ANSWER DOWNLOAD EXAMIANS APP

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

Array
Linked list
Register
Queue
Stack

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Array passed as an argument to a function is interpreted as

Number of element of the array.
Values of the first elements of the array.
Address of the first element of the array.
Address of the array.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
#includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);}

11, 10
11, 11
10, 10
10, 11

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
↑