aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C Programming Advanced Concepts
  • What will be the output of the following program? void fu...
Multiple choice

What will be the output of the following program?

void func() { printf("Testing...Done"); } void main() { func; func(); }What would be the output of the following?

main() { int a=10,b; a>=5?b=100:b=200; printf("%d",b); }

  1. 100

  2. 200

  3. Compiler Error

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer

Keep practicing — related questions

  • What will be the output of the following program? void func() { printf("Testing...Done"); } void main() { f...
  • What will be the output of the following program : void main() { int a=5,b=6; Printf("%d %d %d",a,b,--a*++b...
  • What will be the output of the given function?void main() { int a=1,b=2,c=3,d=4; printf("%d",!a?b?!c:!d:a); }
  • What will be the output of the following program : void main() { int val=2; val = - --val- val--- --val; pr...
  • What will be the output of the following program : void main() { int a=5; printf("%d"); }
  • What will be the output of the following function? # include <stdio.h> void main() { int k,num=30; k = (num...
  • What will be the output of the following program : void main() { printf("%d",sizeof(integer)); }
  • What will be the output of the following program : void main() { int val=50; void *ptr; ptr=&val; printf("%...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy