Search:

Type: Posts; User: vikasvijayan

Search: Search took 0.00 seconds.

  1. Thread: c

    by vikasvijayan
    Replies
    2
    Views
    828

    use pointer to return values

    use pointer to return values
  2. Replies
    5
    Views
    950

    1.)Remove the semi colons placed after if()....

    1.)Remove the semi colons placed after if().
    2.)This program will execute only one time..so 1st you have to use a loop for repeated insertion and deletion.
    3.)You have to use a Head Node that...
  3. Replies
    4
    Views
    1,853

    replace int marital as char marital[50]...instead...

    replace int marital as char marital[50]...instead of marital==1 use strcmp() function
  4. Replies
    5
    Views
    838

    i know the procedure for binary search tree...

    i know the procedure for binary search tree...
  5. Replies
    5
    Views
    838

    can you give the general inserting procedure by...

    can you give the general inserting procedure by using linkedlist?
  6. Replies
    5
    Views
    838

    binary tree

    can anyone post the function to insert elements into a binary tree?[not binary search tree]
  7. Replies
    7
    Views
    1,404

    make the function call as print()

    make the function call as print()
  8. what do you meant by this program?is it like...

    what do you meant by this program?is it like this?
    1+1
    2 then you want to use 2 as your 1st operand for the 2nd time?
    if that is the case,then this program will not generate the result
  9. Replies
    21
    Views
    2,242

    here the 2nd if that is,if(prime) is not part of...

    here the 2nd if that is,if(prime) is not part of the for loop.


    #include<stdio.h>

    int main()


    {
    int primes[4];
  10. i wil give you a simple solution for this problem...

    i wil give you a simple solution for this problem


    void main()
    {
    int i,k=1;
    while(k>0)
    {
    for(i=0;i<k;i++)
    printf("1");
  11. Replies
    10
    Views
    1,087

    fgets() cannot be used here.the use of fgets is...

    fgets() cannot be used here.the use of fgets is demonstrated below.Consider the following code segment


    while(feof()!=Null)
    {
    fgets(array,25,filepointer);
    printf("%s",array);
    }
    ...
  12. Replies
    29
    Views
    3,511

    the order is as follows: int number;...

    the order is as follows:



    int number;
    printf ("www.");

    goto x;

    z:
  13. Thread: Scanf

    by vikasvijayan
    Replies
    15
    Views
    3,386

    by using the single scanf(),you cannot terminate...

    by using the single scanf(),you cannot terminate the pgm by inputting one zero...because the compiler will check the while() loop only after 2nd input is provided.you can proceed like this:


    do ...
  14. Replies
    4
    Views
    1,145

    so ur multiplying two 1dimensional arrays.this is...

    so ur multiplying two 1dimensional arrays.this is the function


    for(i=0;i<3;i++)
    {
    mult[i]=0;
    mult[i]=m1[i]*m2[i];
    }
    for(i=0;i<3;i++)
    printf("%d",mult[i]);
  15. u have done this program in cpp and saved it with...

    u have done this program in cpp and saved it with extension ".c" . Two solutions exist:
    1).save the program as pgname.cpp
    2).
    (i)use header file #include<stdio.h>
    (ii)use printf() in place of...
  16. Replies
    2
    Views
    2,268

    this is a simple issue...pls post ur code

    this is a simple issue...pls post ur code
  17. Thread: If

    by vikasvijayan
    Replies
    4
    Views
    833

    do { printf("\nPlease enter the...

    do

    {
    printf("\nPlease enter the amount of hours worked for the week:");
    scanf("%f", &hours);
    if(hours>40)
    {
    //do what u want to calculate..ur...
  18. Replies
    9
    Views
    1,986

    what u meant by this program? is it the factors...

    what u meant by this program? is it the factors of the number?
Results 1 to 18 of 20