what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answer Posted / shahzad
first variable is used to print the no of inputs and
remaining r used to print the values from the last
i.e.third second first.........so on..
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
write a progrmm in c language take user interface generate table using for loop?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the advantage of c?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Write a program which returns the first non repetitive character in the string?
What is c value paradox explain?
#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); }
What are the data types present in c?
Describe the header file and its usage in c programming?
What is wild pointer in c with example?
What is the benefit of using const for declaring constants?
what is the function of pragma directive in c?
Is multithreading possible in c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }