I have successfully completed the master table. Rahul Kumar E-7 , Batch
what is the range of double and float in gcc compiler?
int main() { int g,l; int l=100; g=l- – + l++; printf(“g = %d”,g); return 0; } predicted output:200 actual output:198 why?? post incrmt r given d higher pref…then ans should be 200.
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
master array created with some doubts.
#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
why the output of i+++j = 11 if i is 5 and j is 6
Respected sir and yes hello friends,,,,,,Today i m writing my first blog;,,,,,,,,,,,,i m writing this blog only bcz,,,,,,,, i don’t know why ….. but yes i can say ……………..emblogic is really awsome……………..specially::::— C:/ @include<emblogic> emblogic main() { name siddarth sir,pravjot sir; if … Continue reading
Assume any value of k eg 1 Q1 d=k++/++k……..print d and k, k=3; why is the reult 1 for d??? Q2 d=printf(“%d%d%d”,++k,k,k++); printf(“%d%d%d”,k++,k,k++); Why the result vary in both the printf statements.??? Q3 printf(“%d%d%d”,k,k++,++k); what will be the output … Continue reading
tasks performed today: 1. linux installation 2. completed assignment number 1 with some problems.
today question 10 of assignment one..