MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Programming
→
Floating Point Issues in C Programming
→
For the following statements will and fetch the ..
1.
For the following statements will and fetch the same character?
A.
Yes
B.
No
Answer» B. No
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The library function used to reverse a string is
If and bytes size, What will be the output of the program ?
For the following statements will and fetch the same character?
Which of the following statements are correct about the below declarations?
Is there any difference between the two statements?
If the two strings are identical, then function returns
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> int main()<br> {<br> char *s = "hello, Interveiw, Mania n";<br> printf("%d", strlen(s));<br> <br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> #include <string.h><br> int main()<br> {<br> char *s = "hello, Interview, Mania";<br> char s1[25];<br> strncpy(s1, s, 25);<br> printf("%s %d", s1, strlen(s1));<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> int main()<br> {<br> char s[11] = "hello";<br> char *s1 = " Interview Mania";<br> strncat(s, s1, 10);<br> printf("%s", s);<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> int main()<br> {<br> char s[15] = "Interview";<br> char *s1 = " Mania";<br> strcat(s, s1);<br> printf("%s %d", s, s[15]);<br> }<br></pre>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply