pease tell me what is fatal erro
assignment 2nd complete except 5th,6th ques…………….
void signal_handler( int sig)
{
if(sig==SIGINT)
{
printf(“Signal %d received\n”,sig);
(void) signal(SIGINT,SIG_IGN);
(void) signal(SIGINT,SIG_DFL);
}………….
in the above code when we press ctrl+c for the second time signal terminates the process instead of being ignored…is there any error in the above code??
sir is this possible to use comparisons like (a<b) with case statement??
after giving the who command which basically tells who the user is we get
username ttyl date time
username pts/0 date time
what is meant by this ttyl and pts/0 ?
sir
i have start 1st assignment and completed 7 program
sir,
i completed my first assingment
Successfully implemented parallel port in compatibility mode and in nibble mode.
jst kindly provide me with the syntax how could or statement be used with “IF” in shell
Assignment 1 and Assignment 2 completed………….
Implemented compatibility and byte mode for parallel port.
#include
int main()
{
int i=1;
printf(“%d%d%d%d%d”,i,++i,i++,++i,++i);
return 0;
}
what wil be the output with reason?