• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 1

What is wrong in this code..

#include<stdio.h> int main(){ register int i=10; int *a=&i; printf ("%d",*a); return 0; }

pointerscclassstorage
30th Jun 2017, 4:36 AM
Morarji Surati
Morarji Surati - avatar
1 Antwort
+ 3
http://www.geeksforgeeks.org/understanding-register-keyword/ pointers to registers are not allowed
30th Jun 2017, 4:48 AM
Eligijus Silkartas
Eligijus Silkartas - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Web Development
0 Votes
Cybersecurity techies
3 Votes
Please complete this code.
0 Votes
Can someone please explain python for me
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
What's wrong with code?
0 Votes