• 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
Which of following is not a valid name for a C variable?

None of these
Exam veda
Both A and B
Examians
Exam_veda

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Determine Output:void main(){ char not; not = !2; printf("%d", not);}

None of These
0
Garbage Value
2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Which of the following is a complete function?

void funct(x) { printf(“Hello"); }
int funct(int x) { return x=x+1; }
int funct();
void funct(int) { printf(“Hello"); }
None of these

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Comment on the following?const int *ptr;

We cannot change the value pointed by ptr.
Both of the above
We can change the pointer as well as the value pointed by it.
We cannot change the pointer ptr itself.

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);}

None of these
20
25
30
24

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 is a pointer to integer, p is not.
ptr and p both are not pointers to integer.
ptr and p, both are pointers to integer.

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
↑