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 |
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā%dā ,a[i]); }
Why isnt any of this standardized in c?
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
Can static variables be declared in a header file?
HOW TO SWAP TWO NOS IN ONE STEP?
How can a number be converted to a string?
What are local static variables? How can you use them?
write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC
What is the difference between array and structure in c?
how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *
What are data breakpoints?
How to print "Hi World" without using semi colon?