Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~683 People Reached
Favorite Forums
Favorite Tags
java x 4
c x 4
Member Avatar for vgd

[B][/B]char c "GATE2011"; char *p =c; printf "%s", p+p 3 p 1 ;   = [B][/B] the output is 2011 can any one explain how?

Member Avatar for smilenow
0
143
Member Avatar for vgd

[CODE] struct node{ int value; struct node *next; }; void rearrange(struct node *list) {struct node *p,*q; int temp; if(!list || !list->next)return p=list;q=list->next; if(q) { temp=p->value; p->value=q->value; q->value=temp; q=p?p->next:0; } } }[/CODE] list is containing the integers 1,2,3,4,5,6,7 then the output is? also what's the meaning of p=list(as per me its …

Member Avatar for Ancient Dragon
0
117
Member Avatar for vgd

import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class DerbyTest { private Connection connect = null; private Statement statement = null; private ResultSet resultSet = null; public DerbyTest() throws Exception { try { Class.forName("org.apache.derby.jdbc.ClientDriver").newInstance(); connect = DriverManager.getConnection("jdbc:derby://localhost:`1527/vineet"); statement=connect.createStatement(); resultSet = statement.executeQuery("SELECT * FROM EMPLOYEE"); while (resultSet.next()) { String user …

Member Avatar for masijade
0
200
Member Avatar for vgd

when the above code is executed then it is showing that m string is undefined, please tell how to modify a string ,which is taken as input [code]String m; BufferedReader x = new BufferedReader(new InputStreamReader(System.in)); try { m = x.readLine(); } catch (IOException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } a--;} …

Member Avatar for JamesCherrill
0
70
Member Avatar for vgd

I am not getting a efficient way to solve the problem, the time taken i more than 5 sec while the time alloted for this problem is 1 sec .so please help me .please give me a answer using collections. ========== EASY - 2 ========== The great pirate Khurafati and …

Member Avatar for jon.kiparsky
0
153