C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Pawan Tiwari       Member Level: Gold       Posted Date: 06 Jan 2008       Category: Other

What is the output of the following C program?

main()

{

int a=10;

int b;

b=a++ + 20;

printf("a=%d b=%d",a,b);

}



Select Answer:

a=11 b=30
a=10 b=30
a=11 b=31
None of the Above




      
Your Test Score: 0 / 0



Next Question: Which of the following denote primary data types in C program?
Previous Question: The operation between float and int would give the result as
Related Questions:
  • Choose the built-in object:


  • You are a marketing manager and discover that not all of your telemarketers call leads to verify contact details such as the postal address. You want to remind your telemarketers do this before the lead is included in any campaign activity. What is the most efficient way to do this?


  • What is difference Between Struct and Class?


  • What do % and _ mean inside LIKE statement?


  • You are transferring records from one database to another. You need to decide whether you can use the SqlBulkCopy class to transfer the records. What should you do?


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use