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
~11.1K People Reached
Favorite Tags
Member Avatar for J-son

Hi there again :) Could someone tell me what is the difference between function declare in main() and outside main() ? Because I don't see anything wrong. Thanks so much in advance. Here is example, [CODE=c] #include <stdio.h> //void fun(int x,int y, int z); int main() { void fun(int x,int …

Member Avatar for Denniz
0
10K
Member Avatar for J-son

Hi there, could anyone help me how to log in to a new html page? Like, when I click on log in button, it brings me to a new page. I tried several methods but didn't work. Thanks in advance. [CODE]<html> <head> <link rel="stylesheet" type="text/css" href="style.css" title="style" /> <title>Identify Users</title> …

Member Avatar for coolshiva
0
77
Member Avatar for J-son

Could anyone explain me, how these two [B]*(ptr + i) = i; and *(ptr + (i - 1);[/B] process to get the result ? I don't understand that syntax, could anyone tell me in clearer way? [CODE=c] #include <stdio.h> #include <stdlib.h> int main() { int i; int *ptr; int number; …

Member Avatar for J-son
0
129
Member Avatar for J-son

Hi there ... I need help with the following program.It is giving me error. Thanks very much. [CODE=c] /*Write a structure function to enter Roll number, Name, Department, Course, Year of joining and print them out */ #include <stdio.h> struct student { char name; char dep; char course; int roll; …

Member Avatar for abhijeetcn
0
145
Member Avatar for J-son

The following program is to produce the sum of Even and Odd array element. The program works properly when I use int instead of double. But getting errors when using double. Could anyone tell me what is the problem? Cus I wan it by using double array. and I don't …

Member Avatar for J-son
0
86
Member Avatar for J-son

In this program, I cannot in put - integer. It outputs wrong result. What should I do to make it possible? Thanks heaps !!! [CODE=c] #include<stdio.h> int main(){ int num; int max=0; printf("Enter +/- integers or enter 0 to Exit \n"); while(1){ scanf("%d",&num); if(num==0) break; if(num>max) max=num; } printf("Max is …

Member Avatar for ArkM
0
86
Member Avatar for J-son

Can anybody help me to solve this problem? My program doesn't work as what it is required. Here is the question and my program code. Thanks. [CODE=c] /**Twenty-five numbers are entered from the keyboard into an array. Write a program to find out how many of them are positive, how …

Member Avatar for J-son
0
108
Member Avatar for J-son

[CODE=C] /** calculate the value of 'a' raised to 'b'.**/ #include <stdio.h> int main (){ int a,b,calc,calculation; printf("Enter value of a and b\n"); scanf("%d %d",&a,&b); calculation=1; for(calc=1;calc<=b;calc++) { calculation=calculation*a; } printf("%d raised to %d is %d",a,b,calculation); return 0; } [/CODE] My problem is I don't understand how this part " …

Member Avatar for J-son
0
100