how to make c program without a libary?
e.g.#include<stdio.h> libary is not in c progaram.
Answers were Sorted based on User's Feedback
Answer / anita patrot
in c language it is necessary to define or declare the pre processors becouse it contains the all types of input and output syntax defination i.e printf is a output syntax and scanf is a input syntax.
without a pre processor we cant write a c program.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sanjapu shiva
Library file contain the 'DEFINATION OF FUNTIONS 'which have
been declared inside headerfile.
Library file's are available inside lib directory.
so it is a pre processor directive.so we can use that some
syntaxs..#include"stdio.h" and #include<stdio.h> etc,..
So we can't write program without a libary.
| Is This Answer Correct ? | 5 Yes | 9 No |
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above
Is there anything like an ifdef for typedefs?
Here is a neat trick for checking whether two strings are equal
int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
how to swap 4 number without using temporary number?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
what are the different storage classes in c?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
For what purpose null pointer used?
Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"