How can I ensure that integer arithmetic doesnt overflow?
No Answer is Posted For this Question
Be the First to Post Answer
What are dangling pointers in c?
What are the types of i/o functions?
What is the difference between #include and #include 'file' ?
Explain what is the difference between text files and binary files?
Hi, main() { } Is a user defined function or Built in Functionn
What is variable declaration and definition in c?
how can use subset in c program and give more example
With the help of using classes, write a program to add two numbers.
How can I insert or delete a line (or record) in the middle of a file?
Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }