Assign to ptr the location of the first occurrence of c in s1.

What will be an ideal response?


```
ANS: ptr = strchr(s1, c);
```

Computer Science & Information Technology

You might also like to view...

Which of the following statements are true?

a. A handler object fires an event. b. A source object fires an event. c. Any object such a String object can fire an event. d. A handler is registered with the source object for processing the event.

Computer Science & Information Technology

Which of the following is an example of a field which should not have duplicate data?

A) Primary key B) City C) State D) Lastname

Computer Science & Information Technology

A method's ____________________ describe what should be true before it is called.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

To maintain current data in a table created by an append query, run the query periodically. ___________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology