Search:

Type: Posts; User: adnilsah017

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,761

    Conversion specification of %c

    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>...
  2. Replies
    10
    Views
    1,797

    Thanks adak, my coding are work which i can sort...

    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...
  3. Replies
    10
    Views
    1,797

    Thanks for your guiding...i'll try as your...

    Thanks for your guiding...i'll try as your suggestion..
  4. Replies
    10
    Views
    1,797

    Thank you for your info Adak. I am the beginners...

    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...
  5. Replies
    10
    Views
    1,797

    Sorting .an array

    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...
  6. Replies
    4
    Views
    3,115

    so, my coding should be like this: char...

    so, my coding should be like this:



    char studName[BUFSIZ];
    fgets(studName,sizeof(studName), stdin);



    am i right..
  7. Replies
    4
    Views
    3,115

    Different scanf and strlen?

    Below is my code for this algorithm:




    #include <stdio.h>
    #include <conio.h>

    int main()
    {
  8. Replies
    2
    Views
    803

    Concatenating Data of Different Types

    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...
  9. Replies
    2
    Views
    2,071

    Need explanations...

    Could you please explain why sometimes in the example the code is in this form



    void main()
    {
    printf( "Welcome to C Programming.\n" );
    }
  10. Replies
    4
    Views
    1,814

    i have read through book that give me example of...

    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?
  11. Replies
    4
    Views
    1,814

    main( ) without return

    According to the coding below:-




    main()

    {

    printf( "Welcome to C Programming.\n" );
  12. How to define a variable for storing string value?

    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...
  13. Replies
    4
    Views
    2,990

    Asterisk Password

    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...
Results 1 to 13 of 13