Hi guys...
I'm doing a simple program which can input 2 single character. Unfortunately, every time i run the program, the second character cannot be input.
code:
#include<conio.h>...
Type: Posts; User: adnilsah017
Hi guys...
I'm doing a simple program which can input 2 single character. Unfortunately, every time i run the program, the second character cannot be input.
code:
#include<conio.h>...
Thanks adak, my coding are work which i can sort name and mark together based on your guide. It's interest me to learn fast on the chapter that i'm not studied yet to growth my knowledge, especially...
Thanks for your guiding...i'll try as your suggestion..
Thank you for your info Adak. I am the beginners in C programming and not familiar with structure and pointer.
Here are my coding which i do swap function on studentMark to get ascending order for...
Dear all,
I found it quite difficult to handle a series of data without using arrays.
For example, if I want to store a group of 10 students and their marks, it will be easier for me to define...
so, my coding should be like this:
char studName[BUFSIZ];
fgets(studName,sizeof(studName), stdin);
am i right..
Below is my code for this algorithm:
#include <stdio.h>
#include <conio.h>
int main()
{
How to to concatenate a string data and a number?
I know there is a function called strcat in C but it works for two strings. The problem I am facing now is I have a string and a number that I...
Could you please explain why sometimes in the example the code is in this form
void main()
{
printf( "Welcome to C Programming.\n" );
}
i have read through book that give me example of the program as above.... but after i compile it have an error and ask me to return value.
why it happen?
According to the coding below:-
main()
{
printf( "Welcome to C Programming.\n" );
I learnt that C doesn't have string data type. In order to store a string value we have to define an array variable of char data type.
I just need a clarification. If I want to store a string up...
I have success on doing password strings in asterisk in main().
Now, i would like to do it by using function.
How do I refer back to the function by creating a function block and passing the...