317 views
1 votes
1 votes
I am good with the basics of C and able to solve 25-30% previous year gate question but in majority of them i am able to run in my rough copy and get answer but most of times it is not in option or if it is there then that is not answer and when i check approach of other people then i get that ok this trick is there and many things, so i want to ask that many of you are facing or faced this problem while preparing or i am week in basics and if i need to improve my basics then suggest some good resource or i should keep on trying previous year and any good C question and when i get wrong answer just check the logic and remember it next time (i feel comfortable while solving pointers and static storage kind of problem but most the time answer is wrong or just missing some logic)

Please log in or register to answer this question.

0 votes
0 votes
mostly those questions are a little bit tricky trying reading the question more properly each individual line may bluff you and then for each variable assign a memory block and then update its value in case of pointer questions concentrate on basics it has a lot of tricky tthings inside it

Related questions

2 votes
2 votes
2 answers
4
srestha asked May 13, 2019
917 views
Can someone explain the output of this code? and what (char*) is doing actually?#include<stdio.h struct Ournode{ char x, y, z; }; int main() { struct Ournode p={'1', '0',...