• 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:void main(){ char not; not = !2; printf("%d", not);}

0
None of These
Garbage Value
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following pointer declaration?int *ptr, p;

ptr is pointer to integer, p may or may not be.
ptr and p both are not pointers to integer.
ptr is a pointer to integer, p is not.
ptr and p, both are pointers to integer.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
The function sprintf() works like printf(), but operates on ..........

no such function in 'C'.
Data file
string
stdin
stderr

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }}

Error
10 20 30 40 50 10 20 30 40 50
None of These
10 20 30 40 50 Garbage Value

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]){}
None of these
void fun(int *p[3][4]){}
void fun(int *p[][4]){}
void fun(int *p[4]){}

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Size of the array need not be specified, when

Initialization is a part of definition
All of these
It is a declaratrion
It is a formal parameter

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
↑