Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter


Posted By: S.Yamininagarajan       Member Level: Diamond       Posted Date: 10 Jul 2008       Category: Aptitude Test

What is the output of the following program?
main()
{
char *src = "Hello World";
char dst[100];
strcpy(src,dst);
printf("%s",dst);
}
strcpy(char *dst,char *src)
{
while(*src) *dst++ = *src++;
}




Select Answer:

Hello World
hello
world
Null




      
Your Test Score: 0 / 0



Next Question: What can be said of the following program? main() { enum Months {JAN =1,FEB,MAR,APR}; Months X = JAN; if(X==1) { printf("Jan is the first month"); } }
Previous Question: What is the output of the following program? main() { int l=6; switch(l) { default : l+=2; case 4: l=4; case 5: l++; break; } printf("%d",l); }
Related Questions:
  • During a given week A programer spends 1/4 of his time preparing flow chart, 3/8 of his time coding and the rest of the time in debugging the programs. If he works 48 hours during the week , how many hours did he spend debugging the program.


  • Two cars are 15 kms apart. One is turning at a speed of 50kmph and the other at 40kmph . How much time will it take for the two cars to meet?


  • A goat is tied to one corner of a square plot of side 12m by a rope 7m long.Find the area it can graze?


  • What will be the difference between simple and compound interest@ 10% per annum on a sum of Rs.1000 after 4 years ?


  • WIPRO Paper


  • Categories

    Aptitude Test Arithmetic Reasoning General Knowledge - India 
    General Knowledge Computer Basics Physics 
    Mathematics Biology Chemistry 
    English Botany Anatomy 
    Physiology Biochemistry Pharmacology 
    Community medicine Forensic medicine Microbiology 
    Pathology Paediatrics Ophthalmology 
    ENT Obstretics and Gynaecology Surgery 

    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.


    Watch TV Channels
  • Watch Asianet TV online
  • Kairali TV in Internet
  • Surya TV online
  • Amritha TV Channel

  • Contact Us    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.