UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

  • Index
  • » C
  • » Can anyone solve this question in C programming Language?

#1 2009-03-18 01:59 PM

jeena1
Guest

Re: Can anyone solve this question in C programming Language?

Hello,

Write code to solve the following problem. Define a function that takes a String as a parameter and returns an integer value. The function need to loop through each character in the input string to find a value of “x”. If a value of “x” is found in the string then return the position within the string where “x” is found else return -1.

  • Index
  • » C
  • » Can anyone solve this question in C programming Language?

Board footer

Powered by FluxBB