Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
20% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
0 Endorsements
Ranked #2K
~7K People Reached
Favorite Tags

22 Posted Topics

Member Avatar for davy_yg

According to me delete querry of sql does not return anything.Whether the querry is correct or not could be checked by values in database...Insert/delete querries don't return any value

Member Avatar for davy_yg
0
333
Member Avatar for manishanibhwani

in the following code how does the compiler comes to know that it has to call the postfix function class Digit { private: int m_nDigit; public: Digit(int nDigit=0) { m_nDigit = nDigit; } Digit& operator++(); // prefix Digit& operator--(); // prefix Digit operator++(int); // postfix Digit operator--(int); // postfix int …

Member Avatar for admin1982
0
171
Member Avatar for mktrx

try by writing $q = "DELETE FROM tUserFavourites WHERE ThreadID='".$TID."' AND Username='".$UID."';";

Member Avatar for Member #46692
0
322
Member Avatar for manishanibhwani

can anyone tell the output of following code and also explain it #include<stdio.h> #include<stdlib.h> union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s %d %f", e1.name, e1.age, e1.salary); return 0; }

Member Avatar for Member #957352
0
113
Member Avatar for manishanibhwani

if I write the following code.. float a =1.3; double b=1.3; if(a>b) printf("hii"); else printf("hello"); the o/p comes hii...but if I change the values to 1.7 the output comes hello...can any1 explain the reason????if precision is to be taken into account then everytime double should be greater..

Member Avatar for rubberman
0
152
Member Avatar for manishanibhwani

int n; scanf("%d\n", &n); printf("you typed %d\n", n); it seems to hang until I type one extra line of input....Can anyone explain this behaviour

Member Avatar for WaltP
0
187
Member Avatar for pooh1234qwerty

char str[]="qwerty"; char *p="qwerty"; str++; \\error *str='a'; \\works p++; \\works *p='k'; \\error when you perform the operation str++..an error occurs ..this is because in c name of an array represents the starting address of an array...and the compiler remembers the starting address as that is the only information compiler has …

Member Avatar for deceptikon
0
127
Member Avatar for nida.lodhi.7

if you use getch() in any program then you can enter any character but that character is never echoed on output screen but in case of getche ...the char is echoed...u can find the difference by implementing it yourself

Member Avatar for manishanibhwani
0
147
Member Avatar for manishanibhwani

can anyone tell me whether we can use const variables for case ...eg I wrote the following code: const int i=2; int j=0; switch(1) { case i:printf("hii"); } now ...this snippet is running properly in turbo c but not in dev cpp... likewise if we use this const variable as …

Member Avatar for deceptikon
0
192
Member Avatar for rithish

write scanf("%d",n); like scanf("%d",&n); & insert a semicolon after stmnt:p=i*i;

Member Avatar for rubberman
0
385
Member Avatar for manishanibhwani

if we print a float using %d garbage value is printed....but if we scan a float value using %d & int...the value gets truncated...What is the reason behind it...

Member Avatar for deceptikon
0
185
Member Avatar for manishanibhwani

When is the garbage colletor called in c...Like in the following code int main() { int *i; int *fun(); i=fun(); printf("%d\n",*i); printf("%d\n",*i); } int *fun() { int k=12; return(&k); } the address being returned is of a variable that is no longer available....but printf statement prints 12 first time and …

Member Avatar for manishanibhwani
0
130
Member Avatar for manishanibhwani
Member Avatar for sepp2k
0
119
Member Avatar for manishanibhwani

hello everyone, I am developing an application for my project... My application works correctly when I run it on applet viewer...But when i try to run it with the help of html page ..the code does not run and gives an erron java.security.accessdenied exception.... Actually i have loaded an image …

Member Avatar for manishanibhwani
0
159
Member Avatar for manishanibhwani

i m unable to interrpret my package from any other drive???? i mean ..i hav created my package, compiled it bt unable to run it... can anyone tl d way of running it or setting the path... the coding is done in command prompt

Member Avatar for NormR1
-1
105
Member Avatar for manishanibhwani

can anyone suggst a link where i cud find the list of various packages and classes already defined in java library

Member Avatar for Ezzaral
0
73
Member Avatar for manishanibhwani

hiii, i want to ask .. why do we basically use servers.. wat is the basic requirement for making of servers and wat r the mainly used servers and their advantage.... sry if my question is tooo easy but i m unable to get a satisfactory answer for this questio.. …

Member Avatar for servertoday
0
112
Member Avatar for 9122080

first let the user enter the string. then find out the no. of characters in that string. better if u store that string in array.now run the loop and compare each character with a,e,i,.o,u.if it is same increment the value of counter variable by 1 else not.

Member Avatar for niyasc
-5
249
Member Avatar for Ihatepullups

according to me if u wanna find the place where string is stored u can cin the string in an array and then reinitialize it with zero everytime. n u have forgotten to write the return 0;statement also.

Member Avatar for niyasc
1
113
Member Avatar for manishanibhwani

in one of the question for beginners a program for moving a file was asked. i cud not find the algo can anyone suggest me the algo????????????

Member Avatar for Ancient Dragon
0
205
Member Avatar for Skeen

i wud suggest u to read book by sumita arora .she is an indian author but her language is simple so beginners cud easily get it.

Member Avatar for manishanibhwani
0
97
Member Avatar for mythili_sharon

[QUOTE=mythili_sharon;1092996]i need the difference between i++ and ++i, where is i++ used and where ++i is used[/QUOTE] ++i means increment the value of i by 1 n then use it. "change the value n then use" i++ means use the value of i as it is and after using increment …

Member Avatar for manishanibhwani
0
153

The End.