Question { 5596 }
1. Write the function int countchtr(char string[ ], int ch);
which returns the number of times the character ch appears
in the string.
Example, the call countchtr(“She lives in NEWYORK”, ‘e’)
would return 3.
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { 3730 }
what are the general concepts of c and c++
Answer
Is This Answer Correct ? | 3 Yes | 0 No |
Question { 4570 }
we have to use realloc only after malloc or calloc ? or we
can use initially with out depending on whether we are
using malloc or calloc in our program ?
Answer
Is This Answer Correct ? | 6 Yes | 0 No |
Question { 4195 }
without using arithmatic operator convert an intger variable
x into x+1
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Question { 4195 }
without using arithmatic operator convert an intger variable
x into x+1
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Question { Zycus Infotech, 22397 }
if array a conatins 'n' elements and array b conatins 'n-1'
elements.array b has all element which are present in array
a but one element is missing in array b. find that
element.
Answer
Is This Answer Correct ? | 8 Yes | 2 No |
1. Wrie a function which returns the most frequent number
in a list of integers. Handle the case of more than one
number which meets this criterion.
public static int[] GetFrequency(int[] list)
Answer
Is This Answer Correct ? | 6 Yes | 19 No |
Question { 3169 }
Write a programm such that
if user enter 11.25 it roundup to 11
but if user enter 11.51 upto 11.99 it will round up to 12
i.e.;convert the floting point value into integer format as
explain above..
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
Question { 8138 }
what is calloc and malloc?
Answer
Is This Answer Correct ? | 17 Yes | 1 No |
what is the disadvantage of using macros?
Answer
Is This Answer Correct ? | 5 Yes | 3 No |
Question { 5875 }
What is the Lvalue and Rvalue?
Answer
Is This Answer Correct ? | 6 Yes | 1 No |
Question { 3725 }
what is a void pointer?
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Question { 6980 }
why arithmetic operation can’t be performed on a void pointer?
Answer
Is This Answer Correct ? | 4 Yes | 0 No |
Question { 3560 }
compare array with pointer?
Answer
Is This Answer Correct ? | 1 Yes | 2 No |