Answer Posted / mahendra giri
preprocessor is which tells the compiler what header file
we are going to use in our program
#include<stdio.h>
will tell the compiler that it include header file standard
input output
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How can I pad a string to a known length?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
How will you divide two numbers in a MACRO?
What is main () in c?
Why flag is used in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What are the uses of a pointer?
Is Exception handling possible in c language?
What is size of union in c?
Is it possible to pass an entire structure to functions?
What is a pointer in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is LINKED LIST? How can you access the last element in a linked list?
write a programming in c to find the sum of all elements in an array through function.