int ten = 10; int two = 2,z=3; printf(“Doing it right: “); printf(“%d minus %d is %d \n”,ten,2,ten-two); printf(“Doing it wrong: “); printf(“%d minus %d is %d\n”,ten); // In this function i have not used the variable name “ten” then … Continue reading
I have successfully completed the master table. Rahul Kumar E-7 , Batch
1 #include<stdlib.h> 2 3 int main() 4 { 5 int de=1234; 6 float j=45.1234; 7 char ch= ‘s’; 8 double s= 3.1415E+5; 9 10 printf(“de= %d \n”,de); 11 printf(“j= %f\n”,j); 12 printf(“ch= %c \n”,ch); 13 printf(“s= %e \n”,s); 14 return … Continue reading
#include<stdio.h> main() { int i=0; // value of i assigned printf(“the value of i is %d\n”,i); // value of i printed … Continue reading