Why double pointer is used in c?
No Answer is Posted For this Question
Be the First to Post Answer
Is there a way to jump out of a function or functions?
What tq means in chat?
What is the role of this pointer?
What is the difference between test design and test case design?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
What is data structure in c language?
What's the best way to declare and define global variables?
Is c call by value?
Who had beaten up hooligan "CHAKULI" in his early college days?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
how to get the starting address of file stored in harddisk through 'C'program.
How can you read a directory in a C program?