main()
{
printf(5+"Vidyarthi Computers");
}

Answer Posted / sujith

I would rather say

rthi Computers

Reason is printf() takes a pointer to char to print the
string. we said 5+"Vidyarthi Computers" so this is
interpreted as "rthi Computers" becuase we have added 5 to
the base pointer. so it will print only "rthi Computers".

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the c in ctime mean?

787


How many types of arrays are there in c?

774


What does 3 periods mean in texting?

801


Is c procedural or object oriented?

774


What is the general form of function in c?

790


Are there namespaces in c?

782


Explain how can you tell whether two strings are the same?

801


What is the significance of c program algorithms?

866


What is identifier in c?

760


Is this program statement valid? INT = 10.50;

893


What are file streams?

770


what is stack , heap ,code segment,and data segment

2428


What is declaration and definition in c?

749


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2983


Define Spanning-Tree Protocol (STP)

865