Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

printf("%d",(printf("Hello")); What it returns?

Answer Posted / atul shukla

printf("%d",(printf("Hello"));

result is for sure hello5
anywhere if braces () are used it uses stack to perform its
operation last open braces will sort first and
print 'hello'and printf return int value its protype is
int printf(const char *format [,argument,...]);
value return will be length of string thats 5
u can change hello to any other string it will print lenght
of string only

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pointers? What are stacks and queues?

1086


What are inbuilt functions in c?

992


where are auto variables stored? What are the characteristics of an auto variable?

1029


Explain how many levels deep can include files be nested?

1041


What are the features of c languages?

1047


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2345


Explain how can I right-justify a string?

1010


What is an array in c?

1011


What is the difference between a function and a method in c?

1047


How can you convert integers to binary or hexadecimal?

992


How can I insert or delete a line (or record) in the middle of a file?

993


What are the two forms of #include directive?

1122


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.

1810


When can you use a pointer with a function?

1016


What is modifier & how many types of modifiers available in c?

991