Search:

Type: Posts; User: vpshastry

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,599

    In switch statement control should move directly...

    In switch statement control should move directly to case statement skipping any other statements. Here it should skip int b=20; and show an error as b undeclared. Why is it not so?
  2. Replies
    10
    Views
    1,599

    int main(){ int a=1; switch(a){ ...

    int main(){
    int a=1;
    switch(a){
    int b=20;
    case 1: printf("b is %d\n",b);
    break;
    default: printf("default b is:\t%d", b);
    ...
  3. Replies
    10
    Views
    1,599

    C initialization

    main(){
    int a=0010;
    printf("a: %d\n", a);
    return 0;
    }
    I got the output as "a: 8", can any one answer why is it so??
  4. Replies
    5
    Views
    4,605

    hey, can some one write the algorithm (in simple...

    hey, can some one write the algorithm (in simple english)?
  5. Replies
    18
    Views
    3,097

    i mean i=i++ can't be divided as i=i and ++i

    i mean i=i++ can't be divided as i=i and ++i
  6. Replies
    18
    Views
    3,097

    sry, i'm not fully satisfied with ur ans,,, i...

    sry, i'm not fully satisfied with ur ans,,, i think both or not same in tat case...
  7. Replies
    18
    Views
    3,097

    its of course 12......

    its of course 12......
  8. Replies
    18
    Views
    3,097

    i expected 10 , bcz 'i'(RHS) gets incremented...

    i expected 10 , bcz 'i'(RHS) gets incremented after assignin to 'i'( LHS)
  9. Replies
    18
    Views
    3,097

    i expected the output to be 10, 1st is assigni 10...

    i expected the output to be 10, 1st is assigni 10 to i, 2nd is incrementin 'i' after assignin it to i, 3rd is print,,,,, o thought a lot abt it.... atill i'm not gettin
  10. Replies
    18
    Views
    3,097

    wat is the logic behind this?

    i=10; i=i++; printf("%d",i);


    for the above part of the prog i got output 11.... y is it? wat is the logic?
  11. Replies
    1
    Views
    821

    is it this problem with my compiler????

    in this program the compiler is compiling the both else if and else statements simultaneously in same for loop..... i wanna know wat is problem with the program

    /* program to convert infix to...
  12. Replies
    1
    Views
    1,336

    plz give an idea about this project

    i've to simulate a quiz paper as my 3rd sem project usin c..
    some questions'l be given , my program should prepare a question paper for required max marks by randomly selectin the questions...
Results 1 to 12 of 12