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


Please Help Members By Posting Answers For Below Questions

What is huge pointer in c?

586


Which function in C can be used to append a string to another string?

648


What is the difference between far and near ?

687


Is r written in c?

725


What header files do I need in order to define the standard library functions I use?

539






How do I determine whether a character is numeric, alphabetic, and so on?

623


What is NULL pointer?

677


differentiate built-in functions and user – defined functions.

629


What is difference between function overloading and operator overloading?

661


Explain the advantages and disadvantages of macros.

627


What is the advantage of a random access file?

639


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2519


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1267


What is unary operator?

661


Explain what is a static function?

633