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 |
How the processor registers can be used in C ?
Do you have any idea about the use of "auto" keyword?
Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;
main is a predefined or user define function if user defined why? if predefined whay?
what is the importance of spanning tree?
What is a c token and types of c tokens?
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
What are void pointers in c?
What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,