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: Ramkumar       Member Level: Diamond       Posted Date: 21 Jun 2008       Category: Computer Basics

Consider the following code of the function exchange: int exchange (char * str, char ch1, char ch2) { int count=0; while (*str) { if (*str==ch1) { *str =ch2; count++;} str++; } return count; } Which of the following action will be done when the function exchange () is invoked?



Select Answer:

The function replaces every occurrence of ch2 in the string str with ch1 and returns the number of replacements it makes.
The function replaces every occurrence of ch1 in the string str with ch2 and returns the number of the value of ch1.
The function replaces every occurrence of ch1 in the string str with ch2 and returns the number of replacements it makes.
The function replaces every occurrence of ch1 in the string str with ch2 and returns the number of the value of ch2.




      
Your Test Score: 0 / 0



Next Question: You want to view the routing table in a computer that is running Windows 2000. How can you accomplish this task?
Previous Question: You want to create a standalone Dfs root while configuring Dfs. How can you accomplish this task?
Related Questions:
  • Which of the following statements are true? Statement A: You can’t have more than four partitions on a Hard Disk. Statement B: To have more than four partitions one of the primary partitions has to be labeled extended. Statement C: The partitions on an extended partition are logical partitions. Statement D: In Linux the number of logical partitions is unlimited.


  • Harry wants to convert the following query as a JOIN to a query as a SUBQUERY: SELECT stud_id, lname FROM student JOIN grades ON student.sub_id=grades.sub_id WHERE sub_name = 'Computer Science'. Identify the correct option.


  • What is a problem caused by distance vector routing protocols?


  • Of the three switching types, which one has the lowest latency?


  • You are planning to export a certificate. What format of the certificate can you use for transfer of certificate from computer to computer?


  • 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.