EmbLogic's Blog

Author Archives: Tanvir Kumar

Please Explain!

struct ABC { int a; float b; char c; }; int main(){ struct ABC *ptr=(struct ABC *)0; ptr++; printf(“Size of structure is: %d”,*ptr); return 0; } Can u please explain this?

Posted in Data Structures with C | 1 Comment

How to prints 1 to 100 without using loop and without using recursion!

Please explain how to prints 1 to 100 without using loop and without using recursion!!.

Posted in Data Structures with C | 3 Comments

Plz Explain how to solve this question?

int main(){     int a[]={10,20,30,40};     int i=3,x;     x=1*a[--i]+2*a[--i]+3*a[--i];     printf(“%d”,x); }

Posted in Data Structures with C | Tagged | 4 Comments

Character driver

Sir, i have completed read, write operation in character driver, using semaphore,ioctl. Also implementing kernel timer.  

Posted in Character Driver | Leave a comment

Lint command

sir, when i use lint command on terminal i get error “command not found”

Posted in Data Structures with C | Leave a comment

project status

sir, i have completed 3 bit and 5 bit and 4 bit data compression and decompression.

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment

Status of 2nd project

sir, i am working on 3bit compression and decompression.  

Posted in Project 2: Multiple Data Compression and Encryption | 1 Comment

error

#include<stdio.h> int main() { int i; i = 10; print(i); return 0; } void print(int a) { printf(“%d\n”,a); } output:warning: conflicting types for ‘print’ [enabled by default] note: previous implicit declaration of ‘print’ was here

Posted in Data Structures with C | 2 Comments

E10:Escape sequence

In 3 question of second assignment, what does \1 and \W does? \W :it is unknown escape sequence but what does  \1 do ?

Posted in Data Structures with C | Leave a comment

Tanvir:E10:Assingment 2

sir i did five question of second assignment today.

Posted in Data Structures with C | Leave a comment

First assingment

sir, i completed my first assingment

Posted in Data Structures with C | Leave a comment

problem in data structre

when using strlwr and strupr,  error come “undefined reference to strupr” i have used #include<string.h> but of no use what to do now?

Posted in Data Structures with C | 1 Comment

strlwr, strupr header file?

when using strlwr and strupr,  error come “undefined reference to strupr” i have used #include<string.h> but of no use what to do now?

Posted in Data Structures with C | 3 Comments

problem in assingment 2

char input[] = “SSSWILTECH1\1\11W\WALLMP1″; what will \1 and \W do here please explain!

Posted in Data Structures with C | 1 Comment

data type conversion

float f=55; printf(“value of f is %d\n”,f); printf(“value of f is %f\n”,f); printf(“value of f is %c\n”,f); what will this print–> with explaination please

Posted in Data Structures with C | 1 Comment