how to make c program without a libary?
e.g.#include<stdio.h> libary is not in c progaram.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1667


What does. int *x[](); means ?

640


What is union and structure in c?

622


What are local variables c?

556


What are the __date__ and __time__ preprocessor commands?

576






Can a local variable be volatile in c?

584


How can I avoid the abort, retry, fail messages?

665


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

669


Difference between pass by reference and pass by value?

660


What is operator promotion?

633


What is a char c?

596


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

648


How we can insert comments in a c program?

636


What is getche() function?

613


There seem to be a few missing operators ..

621