EmbLogic's Blog

siddharth sir-problem on precedence

int i=1;
printf(“hello world %d %d %d”,++j,j++,j);
outputis 3,1,3
y ?
output should be 3,1,1

Posted in Uncategorized | 6 Comments

issue in pre and post increment?????????????

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?????????????????

 

Posted in Uncategorized | 2 Comments

E14: Project: Multiple Data Compression using Iterative technique

Dear E14 trainees,

Update/issues regarding MDC project has to be posted on this thread only on daily basis.

Posted in Uncategorized | 16 Comments

toolchain and usb status

in toolchain : done binutils,kernel,gcc… now doing glibc…..
in usb driver : done notifier and usb generic….. now doing probe function…

Posted in Uncategorized | Leave a comment

E11 : MDC Project.

All E11 trainees,

Kindly update the status of Multiple Data Compression and any queries regarding the same should be posted here only.

 

Continue reading →

Posted in Linux Internals and System Programming | 14 Comments

e-14

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?

Posted in Uncategorized | 1 Comment

E-14 Pointers

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?

Posted in Data Structures with C | Tagged , , , | 5 Comments

E14: Assignment 01

Dear E14 Trainees,

Update the status/issues of Assignment 01 through this post only.

Posted in Data Structures with C | 26 Comments

E2- USB Core DRIVER Problems and Solution

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

Posted in USB Driver | 2 Comments

E-14 pre-increment and logical operators

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?

Posted in Data Structures with C | Tagged , | Leave a comment

wireless driver installation

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

Posted in Uncategorized | 4 Comments

E12: project: Multiple Data Compression Using Iterative Technique

Dear E12 Trainees,

Update the status/issues pertaining  to MDC project on daily basis through this post only.

Posted in Linux Internals and System Programming | 52 Comments

E-12 MDC project

Sir ,

I have made Master Array

 

Posted in Uncategorized | Leave a comment

E-10 MDC PROJECT STATUS

Kindly all the E-10 batch members update their status regarding mdc project here again .

Posted in Uncategorized | 18 Comments

E-12

ptr is selected in vim with yellow colour by certain key combination,and can’t undo it.

Posted in Uncategorized | Tagged | 2 Comments