write a simple calculator c program to perform addition,
subtraction, mul and div.
No Answer is Posted For this Question
Be the First to Post Answer
typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
main() { unsigned char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
void main() { int i=5; printf("%d",i++ + ++i); }
Write a program that reads a dynamic array of 40 integers and displays only even integers
main() { printf("\nab"); printf("\bsi"); printf("\rha"); }
How we print the table of 2 using for loop in c programing?
program to find the roots of a quadratic equation
14 Answers College School Exams Tests, Engineering, HP, IIIT, Infosys, Rajiv Gandhi University of Knowledge Technologies RGUKT, SSC,
Finding a number which was log of base 2
#include<stdio.h> int main() { int a=3,post,pre; post= a++ * a++ * a++; a=3; pre= ++a * ++a * ++a; printf("post=%d pre=%d",post,pre); return 0; }
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.