4)What would be the output?
main()
{
int num=425;
pf("%d",pf("%d",num));
}
a)Comp error
b)4425
c)4253
d)3435
e)none
Answer Posted / ar ind,faisal,jitendra
4253 bcoz printf always return no of chracters inside its()
so it become 4253
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is the difference between #include
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
When should you use a type cast?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is the use of parallelize in spark?
what is the different bitween abap and abap-hr?
Why pointers are used?
Why is main function so important?
When should the const modifier be used?
Define Array of pointers.
What should malloc() do?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
in linking some of os executables are linking name some of them