python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
why does this keep printing "out of range try again"? and how can i fix it
For some reason this will print out "out of range please try again". I tried changing the if statements but that doesn't work either.
#define MAX_fn_LEN32
#define MAX_ln_LEN32
#define MAX_st...
noble
Votes: 0
Answers: 1
Is it possible to scan a file in reverse from the last line in C?
I am running a simulation and want to add an option to continue evolving from the last iteration of a previous run. In order to do so, I need to read the last 2 lines of data from a file. Is there any...
Leon
Votes: 0
Answers: 1
Storing a string in char pointer (using scanf)
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main(){
char *s1;
char *s2;
printf("Enter the string : ");
scanf("%s",s1);
pr...
Deepak
Votes: 0
Answers: 2
C: Can not access the struct data in main after enter data from function
I am new to the C program, I am using a struct with array variables to contain my data set. However, after I enter one set of data to the struct and want to print the data set out on the main functio...
mkmk8888
Votes: 0
Answers: 1