• 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; printf("%d %d", sizeof(*p), sizeof(p));}

1 2
1 1
2 1
2 2

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }}

Run time error
Enter a number:99 Number is divisible by 5
Enter a number:99
complier error

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the following program? #include\ int main(){  extern int i;  i = 20;  printf("%ld ", sizeof(i));  return 0; }

4
Depends on the Compiler
2
Linker Error : Undefined symbol 'i'

ANSWER DOWNLOAD EXAMIANS APP

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

713
0289
0713
Syntax error
1289

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");}

Good Morning
Morning
M
Good
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, 0
0, 2
2, 4
4, 4
2, 2

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
↑