recategorized by
1,146 views
2 votes
2 votes

If space occupied by two strings $s_1$ and $s_2$ in 'C' are respectively $m$ and $n$, then space occupied by string obtained by concatenating $s_1$ and $s_2$ is always

  1. less than $m+n$
  2. equal to $m+n$
  3. greater than $m+n$
  4. none of these
recategorized by

1 Answer

Answer:

Related questions

3 votes
3 votes
3 answers
1
admin asked Mar 31, 2020
1,812 views
What is the correct way to round off $x$, $a$ $\text{float}$ to an $\text{int}$ value?$y=(\text{int})(x+0.5)$$y=\text{int} (x+0.5)$$y=(\text{int}) x+0.5$$y=(\text{int})(\...
5 votes
5 votes
6 answers
2
admin asked Mar 31, 2020
2,150 views
What error would the following function give on compilation? f(int a, int b) { int a; a=20; return a; }Missing parenthesis is $\textit{return}$ statement.Function should ...
4 votes
4 votes
1 answer
3
admin asked Mar 31, 2020
2,090 views
Prior to using a pointer variable it should bedeclared.initialized.both declared and initialized.none of these.
4 votes
4 votes
1 answer
4
admin asked Mar 31, 2020
3,272 views
Output of the following loop isfor(putchar('c');putchar ('a');putchar('r')) putchar('t');a syntax error.cartrt.catrat.catratratratrat...