int i=1;
printf(“hello world %d %d %d”,++j,j++,j);
outputis 3,1,3
y ?
output should be 3,1,1
int i=1;
printf(“hello world %d %d %d”,++j,j++,j);
outputis 3,1,3
y ?
output should be 3,1,1
int x=3,y;
y=(++x*++x*++x)/++x;
the value of y=21and x=7
why?????????????????
int x=3,y;
y=(x++*x++*x++)/x++;
the value of y=9 and x=7
why?????????????????
Dear E14 trainees,
Update/issues regarding MDC project has to be posted on this thread only on daily basis.
in toolchain : done binutils,kernel,gcc… now doing glibc…..
in usb driver : done notifier and usb generic….. now doing probe function…
All E11 trainees,
Kindly update the status of Multiple Data Compression and any queries regarding the same should be posted here only.
ptr=”Hello”
for(i=0;i<strlen(ptr);i++)
{
printf(“default address:%p and it is pointing at %d whose address is : %p and value at this address is %c “,&ptr,i,ptr,*ptr);
ptr++
}
when executing the above loop printf command only prints “Hel” instead of “Hello”.
why is the string length decreasing with progressing of the loop?
declared char *ptr;
printed the address allocated to ptr (&ptr), garbage address of ptr (ptr ) and the garbage value (*ptr)
Error: Segmentation Fault.
Can you please explain why?
Dear E14 Trainees,
Update the status/issues of Assignment 01 through this post only.
Dear all Team member E2
Please join this thread for your all grievances and issues for up-mentioned topics
Regards and thanks
Dharmendra Nath Shandilya
Initializing x,y,z=1 and after applying operation ++x||++y&&++z; The values when printed gives: x=2; y=1; and z=1;
It increments the value of x but does not increment the values of y and z. can anyone please explain why?
please help to install wireless driver
02:00.1 SD Host controller: Broadcom Corporation Device 16bc (rev 10)
02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10)
02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10)
03:00.0 Network controller: Broadcom Corporation Device 4358
Dear E12 Trainees,
Update the status/issues pertaining to MDC project on daily basis through this post only.
Kindly all the E-10 batch members update their status regarding mdc project here again .
ptr is selected in vim with yellow colour by certain key combination,and can’t undo it.