what is the difference between <stdio.h> and "stdio.h"
Answers were Sorted based on User's Feedback
Answer / shuvransu_banerjee
<stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 313 Yes | 16 No |
Answer / vikesh
if angular brackets <> are used it indicates that the file
is to be found in one if the standard directories in the
system.
the quotes " " surrounding the file name indicates that an
alternative set of directive should be searched to find the
file in question
Is This Answer Correct ? | 57 Yes | 12 No |
Answer / vishal
stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 38 Yes | 8 No |
Answer / madhu
the <stdio.h> is located a particular Directory which is
having in Header Direcectory. But "Stdio.h" is can we
activate any where of other Directories.
Is This Answer Correct ? | 72 Yes | 45 No |
Answer / bathakarai
The preprocessor <stdio.h> means that the directory is
predefined one.
but we specify "stdio.h" in their program that indicates
that the preprocessor is an userdefind one
Is This Answer Correct ? | 26 Yes | 3 No |
Answer / shipra
#include<stdio.h> this command look for the file stdio.h
in the specified list of directories only
and
#include"stdio.h" would look the file stdio.h in the current
directory as well as the specified list of directories as
mentioned in the include search path
Is This Answer Correct ? | 13 Yes | 5 No |
Answer / puneet
stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 18 Yes | 13 No |
Answer / kiran shelke,aurangabad
When we write <stdio.h> that mean we can access this header
file from the include directory,but if this header file is
not present in this folder and its available in other
directory then it not access it.But when we write the
"stdio.h" then we can access this header file which
available in any other directory..
In short #include"stdio.h" is best option for ERROR free program
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ranjan kumar sharma
<stdio.h is a header file which availabel in include directory of the system.
when we write #include<stdio.h> preprocessor search for it in include directory
directly and not out of this directory .But when we write "stdio.h" precessor
start searching for this header file from current directory and then in parent
directories. So if we write our own stdio.h in the current directory and include
in program as #include"stdio.h" then our header will be included instead of system
header.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / subrata kumer paul.
<stdio.h> searches in standard C library locations, whereas
"stdio.h" searches in the current directory as well.
Is This Answer Correct ? | 0 Yes | 0 No |
wat is the output #define VOLEDEMORT _who_must_not_be_named int main() { printf("VOLEDEMORT"); }
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;i<n1-1;i++) { if( !( (a1[i]>a1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }
Meaning of () in c
What is bin sh c?
Program to find larger of the two numbers without using if-else,while,for,switch
HOW DO YOU HANDLE EXCEPTIONS IN C?
Can I initialize unions?
how to copy a string without using c function
What is the translation phases used in c language?
Give a method to count the number of ones in a 32 bit number?
How can I access a memory located at certain address?