How to avoid buffer overflow?
Answer / nashiinformaticssolutions
Use bounds-checking functions like fgets() instead of unsafe functions like gets().
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you define a string?
What are data types in c language?
how can i get output like this? 1 2 3 4 5 6
Add 2 64 bit numbers on a 32 bit machine
3 Answers EMC, Hyderabad Central University, NetApp,
Describe the steps to insert data into a singly linked list.
how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.
Explain what does the format %10.2 mean when included in a printf statement?
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
What is the use of a static variable in c?
What is the difference between malloc() and calloc() function in c language?