Login
C Programming
1)
The library function used to find the last occurrence of a character in a string is ?
A)
strnstr()
B)
laststr()
C)
strrchr()
D)
strstr()
Next
Show Answer:
Show Answer
More Question
Which of the following errors would be reported by the compiler on compiling the program given below #includestdio.hint main() int a = 5; switch(a) case 1: printf(First); case 2: printf(Second); case 3 + 2: printf(Third); case 5: printf(Final); break; return 0;
Bit fields CANNOT be used in union.
How will you free the allocated memory
What will be the output of the program #includestdio.hint main() char str[] = Nagpur; str[0]='K'; printf(s, , str); str = Kanpur; printf(s, str+1); return 0;
If char=1, int=4, and float=4 bytes size, What will be the output of the program #includestdio.hint main() char ch = 'A'; printf(d, d, d, sizeof(ch), sizeof('A'), sizeof(3.14f)); return 0;