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 |
What is your favorite subject?
1 Answers Ericsson, Invendis, Tech Mahindra,
Describe dynamic data structure in c programming language?
1,1,5,17,61,217,?,?.
What is stack in c?
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
Explain enumerated types.
how to make a scientific calculater ?
how can you print&scan anything using just one character? :) HINT: printf,scanf similer
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
Write a program to check armstrong number in c?
Is c++ based on c?
HOW DO YOU HANDLE EXCEPTIONS IN C?