Can we include one C program into another C program if yes how?
Answer Posted / amegha
can include another file by using preprocessor directive.
#include<program1.c>
#include<stdio.h>
main()
{
-----
-----
}
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
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); }
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Should I learn c before c++?
What are the back slash character constants or escape sequence charactersavailable in c?
What is difference between structure and union?
What is the difference between text and binary modes?
Explain what is the difference between a string and an array?
Why do we need volatile in c?
What’s a signal? Explain what do I use signals for?
What is static and auto variables in c?
Is null always defined as 0(zero)?
Explain what is wrong in this statement?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent