Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

#include <stdio.h> int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }

Dark Dormouse answered on November 18, 2020 Popularity 10/10 Helpfulness 1/10

Contents


More Related Answers

  • #include<stdio.h> int main() { int n; scanf("%d",&n); int ar[n]; int count=0; for(int i=0;i<n;i++) { scanf("%d",&ar[i]); } for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { if(ar[i]==ar[j]) { count=count+1; } else { count=0; } } } printf("%d\n",(count)/2); }
  • #include<stdio.h> main () { int a; printf("Enter the number:"); scanf("%d",&a); printf("the number was:",a); return 0; }
  • What will be output when you will execute following c code? #include<stdio.h> int main(){ printf("%d\t",sizeof(6.5)); printf("%d\t",sizeof(90000)); printf("%d",sizeof('A')); return 0;
  • #include <stdio.h> int main (void) { int a, b; printf("Dwse mou dio akeraious arithmous: \n"); scanf("%d %d", &a, &b); printf("Oi arithmoi poy edwses einai: %d kai %d", a, b); return 0; }
  • #include <stdio.h> int main() { char array [100]; scanf("%s", array); printf("%s",array); return 0; }
  • #include <stdio.h> int main() { // printf() displays the string inside quotation printf("Hello, World!"); return 0; }
  • #include<stdio.h> int main { int arr[ 5]), i=0; while(i<5) arr[i]=++i; for i=0; i<5; i++) printf("%d", arr[i]; return 0;
  • What will be output when you will execute following c code? #include<stdio.h> int main(){ printf("%d\t",sizeof(6.5)); printf("%d\t",sizeof(90000)); printf("%d",sizeof('A')); return 0;
  • #include <stdio.h> int main() { int x = 5; if (x = 0) printf("Case 1"); else if(x == 0) printf("Case 2"); else printf("Case 3"); }
  • #include <iostream> #include <stdio.h> using namespace std; int main() { int a[5]; a[0]=12; a[1]=13; a[2]=14; a[3]=15;
  • #include <stdio.h> int main() { int num,i=1; printf("Enter the number whose table you want to print?"); scanf("%d",&num); table: printf("%d x %d = %d\n",num,i,num*i); i++; if(i<=10) goto table; }
  • #include <stdio.h> int main() { int num,i=1; printf("Enter the number whose table you want to print?"); scanf("%d",&num); table: printf("%d x %d = %d\n",num,i,num*i); i++; if(i<=10) goto table; }
  • #include<stdio.h> int main() { //output a line printf("Hello world!"); }
  • #include <stdio.h> int pgcd(int nbr1, int nbr2) { if (nbr2 != 0) return pgcd(nbr2, nbr1%nbr2); else return nbr1; } int main() { int nbr1, nbr2; printf("Entrez deux entiers: "); scanf("%d %d", &nbr1, &nbr2); printf("PGCD de %d et %d = %d", nbr1, nbr2, pgcd
  • #include <stdio.h> #include <math.h> #include <string.h> #define BASE 2 int main() { int octalcanst[]={0,1,10,11,100,101,110,111,1000,1001,1010,1011,1100,1101,1110,1111}; char hex[65]=""; long long binary,octal , tempoctal , tempbinary, place;
  • #include<stdio.h> int fun( ) { static int num = 10; //static int num; //num = 10; //static => initialized only once -- when program is started ( like global variables ) num++; printf("num = %d\n",num); } int main( ) {
  • #include<stdio.h> static int n; static int k; int b[100]; int *corder(int *s) { int temp; // static int k; b[k]=*s; k++; for(int i=0;i<k;i++) { if(b[i]>temp) { temp=b[i]; printf("%d",temp);
  • find the error #include <stdio.h> #include <math.h> #include <string.h> #define BASE 2 int maximun(int num1,int num2); int minimum(int num1,int num2); int main() { int num1,num2,min,max; printf("input num1 : "); scanf("%d",&num1); printf(
  • #include <stdio.h> int main() { int a,b,c; scanf("%d %d%d", &a, &b ,&c); if (a == b && b==c) { printf("No\n"); } else if{a!=b && b!==c && c!==a) printf("No\n"); }else{ printf("Yes"); } return 0; } fix
  • #include int main(){ int i,j; i=j=2,3; while(--i&&j++) printf(%d %d,i,j); return 0; }
  • int main(int c, char *v[]) { char *c; c=v[1] + v[2] + v[3]; printf(“%c”, c); }

  • #include <stdio.h> int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }

    0
    Popularity 10/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on Nov 18 2020
    Dark Dormouse
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on Sep 21 2021
    Frightened Fox
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int
    Link to this answer
    Share Copy Link
    Contributed on Oct 13 2021
    Splendid Skylark
    0 Answers  Avg Quality 2/10

    2
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on Oct 13 2021
    Splendid Skylark
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on Nov 25 2021
    Ugliest Unicorn
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on Nov 25 2021
    Ugliest Unicorn
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language c
    Source: Grepper
    Tags: c int return
    Link to this answer
    Share Copy Link
    Contributed on May 02 2022
    Korakod Srinakaiang
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.