Q56. What does ‘[^\n]’ indicates ?
a) Array of ‘n’ elements.
b) String upto ‘n’ elements.
c) Input will be taken until new line is encountered.
d) None of the above
(c)
Q57. Which string function is used to find the first occurrence of a given character in a string.
a) strchr
b) strerr
c) strrchr
d) strcmp
(a)
Q58. Which string function is used to find the first occurrence of a given string in another string.
a) strcmp
b) strchr
c) strstr
d) strfind
(c)
Q59. Which string function is used to set first ‘n’ characters of a given character to a given character.
a) strsetn
b) strset_n
c) strnset
d) strset
(c)
Q60. Which string function is used to get the duplicate of a string.
a) strdup
b) strdupli
c) duplicate
d) strcpy
(a)
Thanks For Your Support.
Good work. Keep it up!!!
great work bro
Good Work Shrey Sir and his team:)
How many keywords are there in Standard C programming language ? Ans is 32 not 44
Standard C has 44 keywords including C89 – 32, C99 – 5, C11 – 7.