How do you prevent buffer overflows in C?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• Use bounds checking while working with arrays.
• Use safer functions like snprintf() instead of sprintf().
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• Use bounds checking while working with arrays.
• Use safer functions like snprintf() instead of sprintf().
Is This Answer Correct ? | 0 Yes | 0 No |
How can I set an array's size at run time?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Find occurence of a character in a sting.
What is a symbolic constant?
is it possible to change the default calling convention in c ?
Compare interpreters and compilers.
What are the types of arrays in c?
what is the hexidecimal number of 4100?
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
Define Array of pointers.
How can I read in an object file and jump to locations in it?
What is meant by global static? why we have to use static variable instead of Global variable