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 Dynamic Initialization.
What are the different flags in C? And how they are useful? And give example for each in different consequences?
Why c is known as a mother language?
Is c compiled or interpreted?
how do you programme Carrier Sense Multiple Access
Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
inline function is there in c language?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
what is the use of using linked list and array?
What is storage class?