#include
show(int t,va_list ptr1)
{
int a,x,i;
a=va_arg(ptr1,int)
printf("
%d",a)
}
display(char)
{
int x;
listptr;
va_star(otr,s);
n=va_arg(ptr,int);
show(x,ptr);
}
main()
{
display("hello",4,12,13,14,44);
}
No Answer is Posted For this Question
Be the First to Post Answer
writw a program to insert an element in the begning of a doubly linked list
What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 Answers MindFire, TCS, Tech Mahindra,
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
What are the advantage of c language?
what is a pointer
4 Answers Bank Of America, TCS,
What’s a signal? Explain what do I use signals for?
Describe the difference between = and == symbols in c programming?
write a program for egyptian fractions in c?
What is character set?
Write a C program to perform some of the operation which can be performed using Single linked list
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?