Recent questions tagged programming-in-c

1 votes
2 answers
1291
0 votes
2 answers
1294
What is meant by precedence rule for evaluation of expressions?
0 votes
1 answer
1295
What are structured languages and what are their major features?
0 votes
1 answer
1296
Consider a pointer declaration int i=10,*p; p=&x;Is p – – ; a valid statement, justify? explain in as simple way as possible.
0 votes
1 answer
1297
What is the main difference between array of pointers and pointer to an array? please Explain with the help of a program/example
0 votes
0 answers
1298
how to Write a program to search a key string in a array of strings,if a key string is found then return its position and then replace that key string by any string using...
0 votes
1 answer
1299
What is the difference between static and dynamic memory allocation ?
0 votes
1 answer
1300
. How are stream operators overloaded in cpp?
0 votes
1 answer
1301
What are the advantages of scope resolutor & referencing in c++?
0 votes
1 answer
1302
At what time are overloaded methods (as opposed to overridden) resolved?
1 votes
1 answer
1305
Hello may someone tell me what trees need to be studied in Data Structures subject.
0 votes
2 answers
1306
2 votes
1 answer
1307
0 votes
2 answers
1308
0 votes
0 answers
1309
0 votes
1 answer
1311
I have read that in Linux, user can do CTRL+D and it's leads to equivalent, but I have an question that user has to press CTRL+D or write CTRL+D in program like a charact...
3 votes
1 answer
1315
Consider the below $C$ code:#include<stdio.h int main() { char a[] = "gateoverflow"; char *p = a; printf("%s", p+p[3]-p ); }The output will be : gate eoverflow overflo...
2 votes
4 answers
1318
char * a[] = "red shoes";How the space in string constant "red shoes" will be stored in 1-D array in memory?
5 votes
3 answers
1319
We use malloc and calloc for:Dynamic memory allocationStatic memory allocationBoth dynamic memory allocation and static memory allocationNone of these
8 votes
4 answers
1320
What is the output of the following program?#include<stdio.h int tmp=20; main() { printf("%d", tmp); func(); printf("%d", tmp); } func() { static int tmp=10; printf("%d",...