Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for gynmd

hello, can someone explain me how this printf inside the function works? [CODE] #include<stdio.h> #define SIZE 10 void function(int [],int); int main() { int a[SIZE]={32,27,64,18,95,14,90,70,60,37}; function(a,SIZE); return 0; } void function(int b[],int size) { if(size>0){ function(&b[1],size-1); printf("%d ",b[0]); } } [/CODE]

Member Avatar for gynmd
0
171
Member Avatar for tubby123

Guys, can u tell me a good programming practice to stop iteration inside a for loop based on a condition, that is, something equivalent to a break in a while loop suppose i am iterating inside a for loop, looking for the first number divisible by 2, i would do …

Member Avatar for Arbus
0
177
Member Avatar for MooCrow

We've started learning about arrays, but our lecture notes are really not helpful at all and we don't have a book. I'm struggling to understand this question and I honestly have no idea what to do or where to start. I've tried to read tutorials and things but I'm just …

Member Avatar for MooCrow
0
794
Member Avatar for p.user01

[CODE] I am a novice programmer and need help..... #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1); printf("Result= %d",n2); return 0; } Result= 8 How is this possible?? Similarly, #include <stdio.h> int main (void) } int n1=2; int n2=0; n2= (++n1) + (++n1) + …

Member Avatar for WaltP
0
307
Member Avatar for ak24

Hello... I'm learning C with "The C Programming Language" book, and I'm stuck at exercise 1-10 which asks to: "Write a program to copy its input to its output, replacing each tab by \t, each backspace by \b, and each backslash by \\. This makes tabs and backspaces visible in …

Member Avatar for ak24
0
999
Member Avatar for Utsav Chokshi

Question:How many main() in one C program is possible? Answer:(a)Exactly one or (b)More than one If answer is b than write easiest program having two main()s...

Member Avatar for nezachem
0
224
Member Avatar for Utsav Chokshi

Question:Write a program which prints " Testing C Skills" without no use of semicolon. I have found one answer : [CODE]1. #include <stdio.h> 2. void main() 3.{ 4. if(printf("Testing C Skills")) 5. {} 6.}[/CODE]

Member Avatar for rajeevpareek
0
86
Member Avatar for relient28

Hello everyone, I am new to this forum and programming in general and had a quick question. In the code below, I was wondering why it was necessary to initialize the variables. I understand the general purpose of initialization(no garbage data) but I don't see what the point is here …

Member Avatar for L7Sqr
0
123
Member Avatar for Utsav Chokshi

I have two programs which gives a same output.....But they uses different logics.... So I want to compare their compilation and run time so I can understand which one is better.... The program gives an output like.....If u enter a number=789 then output=890 means each input digit got increament of …

Member Avatar for group256
0
101