#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

Post New Answer

More C Interview Questions

Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

0 Answers  


What is 1d array in c?

0 Answers  


Why is structure important for a child?

0 Answers  


output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }

2 Answers   Elysium,


How are variables declared in c?

0 Answers  






write a program to arrange the contents of a 1D array in ascending order

4 Answers  


How can I determine whether a machines byte order is big-endian or little-endian?

0 Answers  


How is a structure member accessed?

0 Answers  


What is the difference b/w Structure & Union?

3 Answers  


What the advantages of using Unions?

0 Answers   TISL,


Which of these functions is safer to use : fgets(), gets()? Why?

0 Answers  


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.

0 Answers  


Categories