what is difference between #include<stdio.h> and
#include"stdio.h"
Answers were Sorted based on User's Feedback
Answer / bharatgs7
<stdio.h> means its a in-built header file, "stdio.h" means
its an user-defined header file
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / somichoudhary
In #include<stdio.h>
The c compiler search the header files in Tc-Bin library
But in "stdio.h">
search the header files in local c: folder
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / ep
#include <stdio.h>
Will look for the header file in the standard include paths.
#include "stdio.h"
Will look for the file first in the current directory, then
it wil look for it in the standard include paths, if not found.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jeke kumar gochhayat
in #include<stdio.h> , stdio.h is a predefined header file
in the include directory.
but in #include"stdio.h" is a userdefined header files
but functions are same
| Is This Answer Correct ? | 0 Yes | 0 No |
how to find the given number is prime or not?
What is malloc calloc and realloc in c?
what is the difference between exit() and _exit() functions?
how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,
How can I rethow can I return a sequence of random numbers which dont repeat at all?
In a byte, what is the maximum decimal number that you can accommodate?
what is difference between c and c++
What is a pointer on a pointer in c programming language?
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.
3 Answers Google, Infosys, JTL, OpenFeel,