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



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

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

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

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

Post New Answer

More C Interview Questions

How can I access a memory located at certain address?

2 Answers   CSC,


Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.

1 Answers   TCS,


How do I use void main?

0 Answers  


How is a pointer variable declared?

0 Answers  


Tell us something about keyword 'auto'.

0 Answers  






Why can arithmetic operations not be performed on void pointers?

0 Answers  


Explain following declaration int *P(void); and int (*p)(char *a);

3 Answers  


18)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4

1 Answers  


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

0 Answers  


Difference between linking and loading?

0 Answers  


Is it possible to run using programming C for Java Application?

2 Answers   NIC,


what is an array

5 Answers  


Categories