why programs in c are running with out #include<stdio.h>?
some warnings are display in terminal but we execute the program we get answer why?
eg:
main()
{
printf("hello world
");
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

difference between my-strcpy and strcpy ?

3 Answers   Geometric Software, IIM, Infosys,


What is the right type to use for boolean values in c?

0 Answers  


What's wrong with "char *p; *p = malloc(10);"?

5 Answers  


main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

1 Answers  


What is the best style for code layout in c?

0 Answers  


Explain built-in function?

0 Answers  


main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.

1 Answers   Cisco,


What is include directive in c?

0 Answers  


How do I read the arrow keys? What about function keys?

0 Answers  


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

0 Answers   Infosys,


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

0 Answers   Subex,


program to find the roots of a quardratic equation

1 Answers  


Categories