नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'*/' found outside of comment
Remarks
The closing-comment delimiter is not preceded by an opening-comment delimiter. The compiler assumes a space between the asterisk (*) and the forward slash (/).
Example
The following example generates C4138:
// C4138a.cpp
// compile with: /W1
int */*comment*/ptr; // C4138 Ambiguous first delimiter causes warning
int main()
{
}
This warning can be caused by trying to nest comments.
This warning may be resolved if you comment out sections of code that contain comments, enclose the code in an #if/#endif block, and set the controlling expression to zero:
// C4138b.cpp
// compile with: /W1
#if 0
int my_variable; /* Declaration currently not needed */
#endif
int main()
{
}