aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • ASP.NET Programming Fundamentals
  • consider the following C code int main() { printf("Hello ...
Multiple choice technology programming languages

consider the following C code int main() { printf("Hello world"); } Will this code compile?

  1. Sure , Why not?

  2. No This will not compile , Since the header file stdio.h is not included

  3. The code will compile but will fail to link.

  4. I dont Know :)

Reveal answer Fill a bubble to check yourself
A Correct answer

Keep practicing — related questions

  • Look at the code below and select the correct answer:#include main(){printf ("hello world");}
  • Note the code below and select the correct answer: #include main() { printf ("hello world"); }
  • To include a header file in a C program:
  • #include int main() { int main=7; printf("%d",main); }
  • In 'C', header files are declared in ___________ section.
  • void main() { i=50; printf("%d",i); } What should be added to this file, so that the program is compiled.
  • What is the output of the following C code? #include<stdio.h> int main() { int i=0; for(;i++;printf(%d,i));...
  • Note the following code and then select the correct answer: #include main() { int i; printf ("enter integer...
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