Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C で次の 2 つのコードを検討してください:- 最初のコード:-
int main() { int *a,*b; *a=1; }
2番目のコード:-
int main() { int *a,*b; *a=1; *b=1; }
どちらもエラーなしでコンパイルされます。しかし、最初のものは実行され、2番目のものは実行されません。誰か説明してくれませんか?