Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies

  • NEW INTERVIEW QUESTIONS.COM LANGUAGES INTERVIEW QUESTIONS DETAILS


    NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

    A D V E R T I S E M E N T




    Add to My Questions Add to My Questions | Forward Forward | Print Print


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

    ANS:Hello 5 First the string "Hello"get printed and then the length"5" of the string get printed....

    Answered By: Dhanalakshmi    Date: 3/2/2008

    Hello5.............. bcoz it starts executing from right to left(users view), so it prints Hello first and then it prints number of char it have, thats alll..

    Answered By: Balaji.G    Date: 3/9/2008

    hello5

    Answered By: Krishna Bhattarai    Date: 3/30/2008

    output is like hello"integer value of hello"

    Answered By: nilesh    Date: 4/22/2008

    final answer: 5, while inner printf print "hello".and the outer printf print 5,which is the length string. because printf function simply print the the value no of character that it will print.

    Answered By: vikram singh,jnu,mtech    Date: 5/30/2008

    No. of character in the string. For the above example answer is -- Hello 5. Because the character in the word hello is 5.

    Answered By: Udhayapriya.S    Date: 6/6/2008

    Answer is 5. That is the no. of character in the given string of inner printf statement.

    Answered By: Rathipriya    Date: 6/6/2008

    it returns Hello5 because first it will execute (printf("Hello")) and then the length of the string is displayed because of "%d".

    Answered By: v.v.k.m.lakshmi    Date: 6/8/2008

    0/p->hello5 bcz first it prints "Hello" next it prints 5 bcz The printf Function Returns How Many Characters It prints(Stringlenth)

    Answered By: P.rajesh    Date: 8/13/2008

    © NewInterviewQuestions.com


    If you have the better answer, than send it to us. We will display your answer after the approval.
    Answer Answer:*
    Name Name:*
    Email Address Email Address:*
         Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
     


    Rate the above answer. Help us to know about the answer.
    Category Category Languages Interview Questions
    Rating Rating (3.5) By 4 users
    Added Added 2/8/2008
    Views Views 1
    Rate it Rate it!
    Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when answer is posted!
    Email:


    A D V E R T I S E M E N T





     Sponsors  
    Latest 10 Answers
    That can either be done by using that web service in your web apllication. that is the simplest way....
    N-tire
    CLR,J#,C#,VISUAL STUDIO, CTS,ASSEMBLY,,.....etc
    A proxy server is a process that acts like a switchboard through a firewall to manage the various types of permitted communications with the outside world. Proxy servers may also use caching to make communications more efficient.
    networking is the engineering discipline concerned with communication between computer systems or devices.
    cascading prompt report recives the previes prompt values and restrict the data to curent prompt report. but drill throw is acses the directly(no ristrict) to the current detail report
    A snowflake schema is a set of tables comprised of a single,central fact table surrounded by normalized dimension hierarchies.
    Maximum I tried to save my family. If i can't, I just threw my wife first. because, She is young.She had ability to save herself in some extent. In meantime,i threw a small boat which is available in Ship or Tube.
    If you consider two hardware that do their work separately.In some extend,one hardware require the another one for finish its work and vice versa.Both did not give priority to each other.
    Groupby clause need to group all values in particular domain to make calculation. Orderby clause need to sort the content in ascending / descending order.

    G o o g l e Search

    Google

    Newinterviewquestions.com is a part of Vyom Network. Top



    Copyright ? 2008, newinterviewquestions.com. All rights reserved Privacy Policy

    Page URL: http://www.newinterviewquestions.com/interview/12044/Default.asp?cachecommand=bypass


    Download Yahoo Messenger