• 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
What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);}

complier error
no error no output
1
0

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));}

20
Compiler Error
Linker Error
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);}

void fun(int *p[][4]){}
void fun(int *p[4]){}
void fun(int p[][4]){}
void fun(int *p[3][4]){}
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));}

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

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());}

1
100
Error

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
↑