Answer Posted / glibwaresoftsolutions
• Use bounds checking while working with arrays.
• Use safer functions like snprintf() instead of sprintf().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what are multidimensional arrays?
I came across some code that puts a (void) cast before each call to printf. Why?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Can we declare variable anywhere in c?
What is an identifier?
What are local static variables?
Differentiate call by value and call by reference?
How can I pad a string to a known length?
When do we get logical errors?
What are types of structure?
How can I discover how many arguments a function was actually called with?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What are called c variables?
Whats s or c mean?