• 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(){ int i=065, j=65; printf("%d %d", i, j);}

Syntax error
65 65
53 65
053 65
065 65

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);}

None of these
Veda
Exam\0Veda
Exam Veda
Exam

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }}

4 5 6 7 8 9 10
1 2 3 10
None of these
4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte)

50
None of these
10
15
30

ANSWER DOWNLOAD EXAMIANS APP

C Programming
Choose the best answer.Prior to using a pointer variable

It should be declared.
It should be initialized.
None of these.
It should be both declared and initialized.

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
↑