• 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 p[]="%dn"; p[1] = 'c'; printf(p, 65);}

65
A
c
Error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");}

complier error
examians
None of these
well done examians

ANSWER DOWNLOAD EXAMIANS APP

C Programming
An array elements are always stored in ________ memory locations.

Random
Sequential and Random
Sequential
None of these

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What does the following declaration mean?int (*ptr)[10];

ptr is an pointer to array
ptr is an array of 10 integers
ptr is array of pointers to 10 integers
ptr is a pointer to an array of 10 integers

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);}

hi followed by garbage value
Error
hi
Garbage Value
h

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
↑