Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for pooh1234qwerty

#include<stdio.h> #define CH char*; int main(){ CH a,b; printf("%d %d\n",sizeof(a),sizeof(b)); return 0; } here the o/p is 4 1. why isnt b also of type char*..??

Member Avatar for JasonHippy
0
168
Member Avatar for pooh1234qwerty

#include<stdio.h> int main(){ float f1=14.375; float f2=14.385; if(f1==14.375) printf("Yes1\n"); else printf("No1\n"); if(f2==14.385) printf("Yes2\n"); else printf("No2\n"); return 0; } the output of this prog is Yes1 No2 but i had expected Yes1 Yes2 plz explain me the output...??

Member Avatar for nullptr
0
137
Member Avatar for nitin1

code 1: #include<stdio.h> int main(void) { int a; a= 1,2,3; int b = a++; printf("%d",b); return 0; } code 2 : #include<stdio.h> int main(void) { int a; a= (1,2,3); int b = a++; printf("%d",b); return 0; } Can you please explain why that bracket is making ouput changed ? i …

Member Avatar for pooh1234qwerty
0
135
Member Avatar for pooh1234qwerty

this is my code to get an image named "hkkl.jpg" from documents and show it on applet. but it gives error saying: illegal unicode escape at /user and /documents.... import java.applet.*; import java.awt.*; public class Test extends Applet{ Image i; public void init(){ i=getImage("C:\users\both\documents","hkkl.jpg"); } public void paint(Graphics g){ g.drawImage(i,10,10,this); …

Member Avatar for JamesCherrill
0
160
Member Avatar for pooh1234qwerty

I cant find the error here... its giving 0 0 as output for all input cases. plz help. #include<stdio.h> #define max(a,b) a>b?a:b void build(int ai,int l,int r); int query(int ai,int l,int r,int i,int j,int count); void update(int ai,int l,int r,int i,int j); int aa,b,m; int inp[6]; struct arr { int …

Member Avatar for Ancient Dragon
0
181
Member Avatar for pooh1234qwerty

$ awk -F ":" 'NR!=1 {print $1}' test1.txt what does this mean?? especially ":"??

Member Avatar for Watael
0
108
Member Avatar for pooh1234qwerty

i am a beginner. i need online tutorial for shell scripting. there are many on the web.. which one to choose??

Member Avatar for DoRight
0
230
Member Avatar for pooh1234qwerty

char str[]="qwerty"; char *p="qwerty"; str++; \\error *str='a'; \\works p++; \\works *p='k'; \\error whereas, char str[]="hello"; char *p="hello"; str="tell";\\ error p="tell"; \\works strings point to themselves like arrays then why is str="tell"; \\error an error?? is the case same for arrays?? please explain the reason for every line. also, why can't …

Member Avatar for deceptikon
0
120
Member Avatar for pooh1234qwerty
Member Avatar for pooh1234qwerty
0
185