I thought i am done with operators and expressions in C…But i was wrong.
Expressions ++x && ++y || ++z , is evaluated with my logic. But the logic failed when i tried ++x || ++y && ++z.
I thought i am done with operators and expressions in C…But i was wrong.
Expressions ++x && ++y || ++z , is evaluated with my logic. But the logic failed when i tried ++x || ++y && ++z.
Implemented
#Server client using semaphores and shared memory
Issues faced:
At the time of reading at the server side couldnt find a way for the server to know whether new data has been entered or not so used a flag to to tell server to read the data which was set by the client…
completed assignment 2 but done Que:7(: to check that a given no. is a power of 2 or not) but not by using single expression.
Done assignment no. 2..it was fun working on this one…Done Qus no. 7 using just a single bufffer.
i completed 9 questions of 2nd assignment…..
in 9th question i declared a string of 10 character long but it can store 12 character long ……how is it possible ?
sometime we take format specifier of double as %e or %lf what is diff. between them ???
today i have done assignment-1 and two questions out of 10 in assignment-2.
[root@localhost ~]# telnet 192.168.0.13
Trying 192.168.0.13…
telnet: connect to address 192.168.0.13: Connection refused
[root@localhost ~]# scp emblogic@192.168.0.13:/home/emblogic/neeraj emblogic@192.168.0.38:/home/emblogic
Address 192.168.0.13 maps to server.home, but this does not map back to the address – POSSIBLE BREAK-IN ATTEMPT!
emblogic@192.168.0.13′s password:
reverse mapping checking getaddrinfo for . [192.168.0.38] failed – POSSIBLE BREAK-IN ATTEMPT!
emblogic@192.168.0.38′s password:
scp: /home/emblogic/neeraj: Is a directory
Killed by signal 1.
Connection to 192.168.0.13 closed.
project completed using message queues but facing problem in semaphore
Completed Assignment no 1(a doubt in qus no 6) and done 7 of 10 problems of asgn 2.
completed assignment 1 (basics in C),and done 7 programs of second assignment(conditionals);having doubts in
1) Q10(assignment 1) integer overflow:why unsigned int always gives the maximum value(4294967295) possible for it on overflow;as char gives 0 on 1 overflow???
2)what exactly happens here::
int p=5;
printf(%d\t%d\t%d\t%d\n,++p,p++,p,++p);
completed assignment no 1 (basics of C)
but i have some doubts ….
Studied VIM text-editor,vim commands,introduction to c(Declaring Variables,Pre-processing Statements,Arithmetic Operators,Variables and Operators…Constants and Variable Types,Operators in C,Operators and Expressions,Expressions and Statements,Operator Precedence)
sir plz update its driver so i can access the wifi in linux………………