How can I ensure that integer arithmetic doesnt overflow?
No Answer is Posted For this Question
Be the First to Post Answer
Write an algorithm for a program that receives an integer as input and outputs the product of of its digits. E.g. 1234 = 24, 705 = 0
Example of friendly function in c++
Why is sprintf unsafe?
Why c language?
What is the difference between text and binary modes?
Explain c preprocessor?
What is a structure and why it is used?
Give the rules for variable declaration?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the difference between struct and union in C?
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20
write a program to display the numbers in the following format 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 4