Search:

Type: Posts; User: vijayshankar

Search: Search took 0.00 seconds.

  1. Thread: Functions

    by vijayshankar
    Replies
    5
    Views
    1,089

    But the values does change when we pass the...

    But the values does change when we pass the parameters by reference, i mean by calling the address of the variable..isnt it?
  2. Thread: Functions

    by vijayshankar
    Replies
    5
    Views
    1,089

    Functions

    Hello guys... i have a doubt over the topic functions where we pass value..

    why do we use another variable while calling a function .. i mean if we have declared variable x in main() and we use...
  3. Replies
    1
    Views
    705

    difference between two

    hello guys..

    void main() and int main( void) . i just want to know the difference between two and often i get a warning in coding that functions want to return a value. can u explain on this?
    ...
  4. Replies
    15
    Views
    1,803

    Thank you friends... i downloaded pelles c .. ...

    Thank you friends... i downloaded pelles c .. hope i get used to it easily.
  5. Replies
    15
    Views
    1,803

    Thank you guys.. what compiler do u suggest is...

    Thank you guys.. what compiler do u suggest is best now? I use windows 7 os.
  6. Replies
    15
    Views
    1,803

    Is compiler my problem?

    Hello guys, i tried out the following code for performing the sum of the digits of the number entered. The desired outcome was coming for some numbers in my turbo c, but when i did it with numbers...
  7. Replies
    5
    Views
    2,050

    thanks a lot.. now i got the idea behind the...

    thanks a lot.. now i got the idea behind the logic. Am just a beginner in C. thanks again and keep helping.
  8. Replies
    5
    Views
    2,050

    but that program is working, i tried it.. i dont...

    but that program is working, i tried it.. i dont understand why the condition of c=2 is used to print the primes.
  9. Replies
    5
    Views
    2,050

    logic of the program.

    hello guys, can u just explain me the logic that is inside the while loop in the code below. unable to understand the logic of variable c .


    #include <stdio.h>
    main()
    {
    int n,i=1,j,c;
    ...
  10. Replies
    10
    Views
    1,377

    If i wanna clear more such doubts, shall i...

    If i wanna clear more such doubts, shall i continue it in the same thread or a new one.
  11. Replies
    10
    Views
    1,377

    Thank you friends.... am just a beginner in C. so...

    Thank you friends.... am just a beginner in C. so pls bear with my silly mistakes and questions...

    @nimitzhunter: you mean , the following coding , wright?


    else
    continue;


    so, other...
  12. Replies
    10
    Views
    1,377

    #include #include void main()...

    #include<stdio.h>
    #include<conio.h>
    void main()
    {
    int i,n;
    printf("enter no:");
    scanf("%d",&n);
    for(i=2;i<n;i++)
    {
    if(n%i==0)
  13. Replies
    10
    Views
    1,377

    @Adak: but am getting the ouput correctly..

    @Adak:


    but am getting the ouput correctly..
  14. Replies
    10
    Views
    1,377

    hello friends.

    hello friends, am vijay shankar.. am new to this forum as well as c program. so pls help me out by correcting me. i have written a program for prime, pls do tell me my mistakes.

    main()
    {
    int...
Results 1 to 14 of 14