#include <stdio.h>
/*
(1)init part - to give a init or a common part which is necessary for program that
can't be given by lines of commentary.
(2)indepent part - only one part can be existed in all demo when executing a program,
Meanwhile,Any other "independent part" shoud be given commentary lines on it.
*/
int main()
{
/*
init part
*/
/*int a = 5;
short b = 2;
char ch = 'a';
float x = 2.5f;
float y = 5.5;*/
/*
--independent block1
测试--C
(C语言之复习demo_04--自我复习使用-可供参考)自动类型转换与强制类型转换
最新推荐文章于 2024-08-09 17:45:27 发布
本文主要探讨C语言中的自动类型转换和强制类型转换,通过实例代码演示了不同数据类型之间的转换过程,旨在帮助读者更好地理解和运用这两种转换方式。
摘要由CSDN通过智能技术生成