Main(){printf("%u",main);}what will be the output?main(){int 1,b;int con;1=b=2;con (b==1) ? 1 : 0;printf("%d",con);} what will be the value of con?
Latest Answer : CPU registers. The top of the memory pyramid :) ...
Latest Answer : no ...
Latest Answer : Error detection is done by Programmers.They will do Unit testing after completion of code ...
Latest Answer : It' s simple(ls;who) >> xComments:*** (ls;who) prints both the outputs in stdout in the same sequence as commanded.*** >> is the "redirection + append" operator, hence the o/p from stdout is put into a file (appended) named x. ...
Latest Answer : Well if you are getting problems with adapter then you can use switches because as adapter are sort of connectors so switches can take there place in some cases. ...
If you type in the commandnohup sort employees > list 2 > error out & and log off ,the next time you log in . the output will bea). in a file called list and the error will de typed in a file error outb). there will be no file called list or error outc). error will be logged in a file called list and o/p will be in error outd). you will not be allowed to log ine). none of the above
Result of the following program ismain(){int i=0;for(i=0;i<20;i++){switch(i)case 0:i+=5;case 1:i+=2;case 5:i+=5;default i+=4;break;}printf("%d,",i);}}a)0,5,9,13,17b)5,9,13,17c)12,17,22d)16,21e)syntax error
d
What will the following program do?void main(){int i;char a[]="String";char *p="New String";char *Temp;Temp=a;a=malloc(strlen(p) + 1);strcpy(a,p); //Line no:9//p = malloc(strlen(Temp) + 1);strcpy(p,Temp);printf("(%s, %s)",a,p);free(p);free(a);} //Line no 15//a) Swap contents of p & a and print:(New string, string)b) Generate compilation error in line number 8c) Generate compilation error in line number 5d) Generate compilation error in line number 7e) Generate compilation
b
PATH = /bin : /usr : /yourhomeThe file /bin/calendar has the following line in itcal 10 1997The file /yourhome/calendar has the following line in itcal 5 1997If the current directory is /yourhome and calendar is executeda) The calendar for May 1997 will be printed on screenb) The calendar for Oct 1997 will be printed on screenc) The calendar for the current month( whatever it is) will be printedd) Nothing will get printed on screene) An error massage will be printed