Skip to content

algorithm/convert/convert.c #2

@ghost

Description

#include<stdio.h>
int main() {
char a = 'A';

char b = 'B';
char temp;

temp = a;
a = b;
b = temp;


printf("value of a=%c  \nvalue of b=%c  \nvalue of temp=%c",a,b,temp);
return 0;//原文中temp与tmp混乱,且缺少头文件,缺少尾部花括号

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions